Changed from typedef to obj and def
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import io;
|
||||
|
||||
typedef ClassWithConstructor {
|
||||
obj ClassWithConstructor {
|
||||
var data: int;
|
||||
fun construct(inData: int): ClassWithConstructor* {
|
||||
data = inData;
|
||||
|
||||
Reference in New Issue
Block a user