class NamedCtor def main is shared x1 = NamedCtor(sName='foo', age=99) assert x1.x == 'foo' assert x1.a == 99 x2 = NamedCtor(age=55, xcomb=88, ycomb=99, sName='wrong') # .error. Incorrect arg ordering assert x2.x == 'wrong' assert x2.a == 55 assert x2.xcomb == 88 assert x2.ycomb == 99 var x = '' var a = 0 pro xcomb from var = 0 pro ycomb from var = 0 cue init(sName as String, age as int) base.init .x = sName .a = age