Test refactoring

This commit is contained in:
Mikhail Glukhikh
2015-04-13 14:58:28 +03:00
parent 8184bccda1
commit 1544755838
35 changed files with 111 additions and 111 deletions
@@ -0,0 +1,12 @@
public class X {
public val x : String? = null
public fun fn(): Int {
if (x != null)
// Smartcast is possible because it's value property with default getter
// used in the same module
return <!DEBUG_INFO_SMARTCAST!>x<!>.length()
else
return 0
}
}