class NamedCtor def main is shared x1 = NamedCtor(sname='foo', age=99) # .error. No parameter named "sname" and no definition assert x1.x == 'foo' assert x1.a == 99 var x = '' var a = 0 cue init(sName as String, age as int) base.init .x = sName .a = age