Files
kotlin-fork/idea/idea-completion/testData/basic/common/SubstitutedSignature4.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

15 lines
387 B
Kotlin
Vendored

trait Trait<T>
fun<T> Trait<T>.extension(t: T): T = t
class Outer : Trait<String> {
inner class Inner : Trait<Int> {
fun foo() {
ext<caret>
}
}
}
// EXIST: { itemText: "extension", tailText: "(t: String) for Trait<T> in <root>", typeText: "String" }
// EXIST: { itemText: "extension", tailText: "(t: Int) for Trait<T> in <root>", typeText: "Int" }