KT-1202 object construction fix

This commit is contained in:
Alex Tkachman
2012-02-13 08:34:10 +02:00
parent 84ed18c7e2
commit ace34b01bc
6 changed files with 197 additions and 61 deletions
@@ -0,0 +1,11 @@
package interactive;
class Shape(var height : Double = 1.0, var fillColor : String = "#AAAAAA") {
}
fun box() : String {
var a : Shape? = Shape()
a?.height = 1.0
return "OK"
}