Files
kotlin-fork/idea/idea-completion/testData/smart/constructor/InnerClass.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

19 lines
421 B
Kotlin

trait T
class C {
inner class Inner1(s: String) : T
inner class Inner2 : T
inner class Inner3
class Nested: T
}
fun foo(c: C): T {
return c.<caret>
}
// EXIST: { lookupString: "Inner1", itemText: "Inner1", tailText: "(s: String)", typeText: "C.Inner1" }
// EXIST: { lookupString: "Inner2", itemText: "Inner2", tailText: "()", typeText: "C.Inner2" }
// ABSENT: Inner3
// ABSENT: Nested
// NUMBER: 2