Partial body resolve: correct handing of this qualifier

This commit is contained in:
Valentin Kipyatkov
2014-11-18 16:45:00 +03:00
parent 78e26c0cf9
commit e7ba59b209
4 changed files with 23 additions and 2 deletions
@@ -0,0 +1,2 @@
Resolve target: val s: kotlin.String? smart-casted to kotlin.String
Skipped statements:
@@ -0,0 +1,12 @@
class C(val s: String?) {
fun foo(p: Boolean) {
if (p) {
print(s!!)
}
else {
print(this.s!!)
}
<caret>s.size
}
}