Implicit receiver smart casts implementation and highlighting

This commit is contained in:
Mikhail Glukhikh
2015-11-09 15:18:37 +03:00
parent 03287d5d66
commit 811ba8110f
17 changed files with 175 additions and 8 deletions
@@ -25,7 +25,7 @@ fun <T : String?> T.foo() {
<!UNSAFE_CALL!>length<!>
if (this is String) {
length
<!DEBUG_INFO_IMPLICIT_RECEIVER_SMARTCAST!>length<!>
this<!UNNECESSARY_SAFE_CALL!>?.<!>length
bar1()