Partial body resolve test to test 2 resolve modes

This commit is contained in:
Valentin Kipyatkov
2014-12-07 06:25:24 -07:00
parent 2a41856af6
commit 8f32a6c1f9
15 changed files with 150 additions and 26 deletions
@@ -5,12 +5,7 @@ open class C(p: Int) {
}
fun foo(p: String?) {
val o = object : Runnable {
override fun run() {
if (p == null) return
print(p.size)
}
}
/* STATEMENT DELETED: val o = object : Runnable { override fun run() { if (p == null) return print(p.size) } } */
val c = object : C(p!!.size) {
override fun f() {