class Foo { init(a, b) {} } var foo = Foo(1); // expect runtime error: Expected 2 arguments but got 1.