class C { a : Int; b : Bool; init(x : Int, y : Bool) : C { { a <- x; b <- y; self; } }; }; Class Main { main():C { { (new C).init(1,1); -- do not conform to declared params (new C).init(1,true,3); -- too many params (new C).iinit(1,true); -- wrong method name (new C); } }; };