mirror of
https://github.com/wren-lang/wren.git
synced 2026-01-16 20:28:04 +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()'.
|