Files
kotlin-fork/idea/idea-completion/testData/handlers/smart/ClassObjectMethod2.kt.after
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

14 lines
152 B
Plaintext
Vendored

package sample
class K {
companion object {
fun bar(p: Int): K = K()
}
}
fun foo(){
val k : K = K.bar(<caret>)
}
// ELEMENT: bar