Files
kotlin-fork/idea/idea-completion/testData/smart/InsideIdentifier.kt
T
Valentin Kipyatkov bb808b5620 Created module idea-test-framework and moved classes needed for idea tests there
Moved tests for completion and their test data into module idea-completion
2015-04-14 18:53:01 +03:00

20 lines
279 B
Kotlin
Vendored

open class Foo
class Bar : Foo()
val xfoo = Foo()
val xbar = Bar()
val xo : Any = ""
fun f(xp1 : Foo, xp2 : Bar, xp3 : String, p4 : Foo) {
var a : Foo
a = x<caret>y
}
// EXIST: xfoo
// EXIST: xbar
// ABSENT: xo
// EXIST: xp1
// EXIST: xp2
// ABSENT: xp3
// ABSENT: p4