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,7 +1,5 @@
package dependency
fun String.extFun(){}
fun String.wrongExtFun(p: Int){}
fun topLevelFun(){}
fun wrongTopLevelFun(p: Int){}
fun String.extFun(){}
@@ -7,7 +7,5 @@ fun bar(p: String.() -> Unit) { }
// INVOCATION_COUNT: 2
// EXIST: extFun
// EXIST: topLevelFun
// ABSENT: wrongExtFun
// ABSENT: wrongTopLevelFun
// ABSENT: extFun