class NamedCtor def main is shared x1 = NamedCtor(sName='foo', age=99) assert x1.x == 'foo' assert x1.a == 99 x2 = NamedCtor(age=55, sName='foo', ycomb=99) assert x2.x == 'foo' assert x2.a == 55 assert x2.ycomb == 99 var x = '' var a = 0 pro ycomb from var = 0 cue init(sName as String, age as int) base.init .x = sName .a = age # print 'NamedCtor [.x]'