JS: fix remaining tests. Suppress extensionFromTopLevelUnitOneStringArg.kt, use another approach to check whether object's property accessed via this

This commit is contained in:
Alexey Andreev
2016-09-06 12:10:51 +03:00
parent 44f7a94380
commit 0c3c2af76d
3 changed files with 45 additions and 8 deletions
@@ -20,7 +20,12 @@ fun box(): String {
if (a.result != "OK") return a.result
// TODO: uncomment when KT-13312 gets fixed
/*
val a1 = A()
run(a1, "OK", A::foo)
return a.result
if (a1.result != "OK) return a1.result
*/
return "OK"
}