[Analysis API] Add tests for dangling files
This commit is contained in:
+9
@@ -0,0 +1,9 @@
|
||||
// FILE: lib.kt
|
||||
|
||||
class Foo
|
||||
|
||||
// FILE: main.kt
|
||||
|
||||
fun test() {
|
||||
Fo<caret>o()
|
||||
}
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
Resolved to:
|
||||
0: (in Foo) constructor() [lib.kt]
|
||||
@@ -0,0 +1,5 @@
|
||||
class Foo
|
||||
|
||||
fun test() {
|
||||
Fo<caret>o()
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
Resolved to:
|
||||
0: (in Foo) constructor() [fake.kt]
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
// FILE: lib.kt
|
||||
|
||||
fun foo() {}
|
||||
|
||||
// FILE: main.kt
|
||||
|
||||
fun test() {
|
||||
fo<caret>o()
|
||||
}
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
Resolved to:
|
||||
0: (in ROOT) fun foo() [lib.kt]
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
fun foo() {}
|
||||
|
||||
fun test() {
|
||||
fo<caret>o()
|
||||
}
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
Resolved to:
|
||||
0: (in ROOT) fun foo() [fake.kt]
|
||||
Reference in New Issue
Block a user