More precise diagnostics is added for smart cast impossible #KT-8810 Fixed

This commit is contained in:
Mikhail Glukhikh
2015-11-02 16:37:43 +03:00
parent 15eaa15b65
commit 0a5a5a2e36
12 changed files with 98 additions and 37 deletions
@@ -0,0 +1,5 @@
val x: Int? = 0
get() {
if (field != null) return <!DEBUG_INFO_SMARTCAST!>field<!>.hashCode()
return null
}
@@ -0,0 +1,3 @@
package
public val x: kotlin.Int? = 0