2015-09-01 08:16:04 -07:00
|
|
|
class Foo {}
|
2015-07-10 09:18:22 -07:00
|
|
|
|
2015-09-01 08:16:04 -07:00
|
|
|
// Classes do not get a constructor by default.
|
2015-07-10 09:18:22 -07:00
|
|
|
var foo = Foo.new() // expect runtime error: Foo metaclass does not implement 'new()'.
|