Immediate extension members are correctly detected for platform types

This commit is contained in:
Valentin Kipyatkov
2014-11-28 18:45:37 +03:00
parent acfd308a7e
commit 6502c44928
3 changed files with 22 additions and 1 deletions
@@ -0,0 +1,14 @@
fun String.extFunForString(){}
fun Any.extFunForAny(){}
fun String?.extFunForStringNullable(){}
class C {
fun foo() {
System.getProperty("a").<caret>
}
}
// EXIST: { itemText: "extFunForString", attributes: "bold" }
// EXIST: { itemText: "extFunForAny", attributes: "" }
// EXIST: { itemText: "extFunForStringNullable", attributes: "bold" }
// EXIST: { itemText: "charAt", attributes: "bold" }