class Foo { init(arg) { print "Foo.init(" + arg + ")"; this.field = "init"; } } var foo = Foo("one"); // out: Foo.init(one) foo.field = "field"; var foo2 = foo.init("two"); // out: Foo.init(two) print foo2; // out: // Make sure init() doesn't create a fresh instance. print foo.field; // out: init