FIR IDE: move analysis api fir testdata to the analysis directory
This commit is contained in:
+11
@@ -0,0 +1,11 @@
|
||||
fun test(f: Foo) {
|
||||
for(i <caret>in f) {}
|
||||
}
|
||||
|
||||
interface Foo
|
||||
fun Foo.iterator(): Iterator
|
||||
|
||||
interface Iterator
|
||||
|
||||
fun Iterator.next(): Any
|
||||
fun Iterator.hasNext(): Boolean
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
Resolved to:
|
||||
0: (in ROOT) fun Foo.iterator(): Iterator
|
||||
1: (in ROOT) fun Iterator.hasNext(): kotlin.Boolean
|
||||
2: (in ROOT) fun Iterator.next(): kotlin.Any
|
||||
+14
@@ -0,0 +1,14 @@
|
||||
fun test(f: Foo) {
|
||||
for(i <caret>in f) {}
|
||||
}
|
||||
|
||||
interface Foo {
|
||||
fun iterator(): Iterator
|
||||
}
|
||||
|
||||
interface Iterator {
|
||||
fun next(): Any
|
||||
fun hasNext(): Boolean
|
||||
}
|
||||
|
||||
// MULTIRESOLVE
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
Resolved to:
|
||||
0: (in Foo) fun iterator(): Iterator
|
||||
1: (in Iterator) fun hasNext(): kotlin.Boolean
|
||||
2: (in Iterator) fun next(): kotlin.Any
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
fun test(f: Foo) {
|
||||
for(i <caret>in f) {}
|
||||
}
|
||||
|
||||
interface Foo {
|
||||
fun iterator(): Iterator
|
||||
}
|
||||
|
||||
interface Iterator {
|
||||
fun hasNext(): Boolean
|
||||
}
|
||||
|
||||
// MULTIRESOLVE
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
Resolved to:
|
||||
0: (in Foo) fun iterator(): Iterator
|
||||
1: (in Iterator) fun hasNext(): kotlin.Boolean
|
||||
Reference in New Issue
Block a user