bb808b5620
Moved tests for completion and their test data into module idea-completion
14 lines
162 B
Plaintext
Vendored
14 lines
162 B
Plaintext
Vendored
package sample
|
|
|
|
class K {
|
|
companion object {
|
|
fun bar(p: () -> Unit): K = K()
|
|
}
|
|
}
|
|
|
|
fun foo(){
|
|
val k : K = K.bar { <caret> }
|
|
}
|
|
|
|
// ELEMENT: bar
|