bb808b5620
Moved tests for completion and their test data into module idea-completion
16 lines
209 B
Kotlin
Vendored
16 lines
209 B
Kotlin
Vendored
class Name {
|
|
companion object {
|
|
fun create(): Name = Name()
|
|
}
|
|
}
|
|
|
|
fun foo(name: Name){}
|
|
|
|
fun bar() {
|
|
val v: (Name) -> Unit = { foo(<caret>) }
|
|
}
|
|
|
|
// ORDER: it
|
|
// ORDER: Name
|
|
// ORDER: create
|