No members&extensions after non-qualified "::" because it will be soon unsupported by the compiler

This commit is contained in:
Valentin Kipyatkov
2015-10-01 23:11:52 +03:00
parent f58f5dd82a
commit 1bc132bc1a
14 changed files with 44 additions and 139 deletions
@@ -1,9 +1,7 @@
package dependency
fun CharSequence.extFun(){}
fun Int.wrongExtFun(){}
fun topLevelFun(){}
val topLevelVal: Int = 1
val topLevelVal: Int = 1
fun CharSequence.extFun(){}
@@ -3,7 +3,6 @@ fun String.foo() {
}
// INVOCATION_COUNT: 2
// EXIST: extFun
// EXIST: topLevelFun
// EXIST: topLevelVal
// ABSENT: wrongExtFun
// ABSENT: extFun