Files
kotlin-fork/idea/idea-completion/testData/basic/common/AfterNullable.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
458 B
Kotlin
Vendored

fun String?.forNullableString(){}
fun Any?.forNullableAny(){}
fun String.forString(){}
fun Any.forAny(){}
fun foo(s: String?) {
s.<caret>
}
// EXIST: { lookupString: "forNullableString", attributes: "bold" }
// EXIST: { lookupString: "forNullableAny", attributes: "" }
// EXIST: { lookupString: "forString", attributes: "grayed" }
// EXIST: { lookupString: "forAny", attributes: "grayed" }
// EXIST: { lookupString: "compareTo", attributes: "grayed" }