@sayol, mratsim is right. The init method's name doesn't matter for the
properties. The constructor is generated based on the properties, so if you
change it to
class MyClass* of RootObj:
var
x*: int
...
RunYou also need to change the constructor call. Perhaps it would make more sense to generate the properties based on the init method, but that could be argued.
