KT-1202 object construction fix
This commit is contained in:
@@ -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"
|
||||
}
|
||||
Reference in New Issue
Block a user