Type intersection fix: T & (final A) is no more calculated as just A #KT-7801 Fixed

This commit is contained in:
Mikhail Glukhikh
2016-01-21 15:41:45 +03:00
parent 3106a8508a
commit b3c5760eb5
2 changed files with 15 additions and 9 deletions
@@ -29,7 +29,7 @@ fun <T : CharSequence?> foo(x: T) {
<!DEBUG_INFO_SMARTCAST!>x<!>.length
x<!UNNECESSARY_SAFE_CALL!>?.<!>length
<!DEBUG_INFO_SMARTCAST!>x<!>.bar1()
x.bar1()
x.bar2()
<!DEBUG_INFO_SMARTCAST!>x<!>.bar3()
}