mirror of
https://github.com/wren-lang/wren.git
synced 2026-01-11 22:28:45 +01:00
5 lines
149 B
Plaintext
5 lines
149 B
Plaintext
class Foo {}
|
|
|
|
// Classes do not get a constructor by default.
|
|
var foo = Foo.new() // expect runtime error: Foo metaclass does not implement 'new()'.
|