1
0
forked from Mirror/wren
Files
wren/test/language/method/duplicate_methods.wren

13 lines
221 B
Plaintext

class Foo {
construct new() {}
foo() {}
foo() {} // expect error
static bar() {}
static bar() {} // expect error
// No error on instance and static method with same signature.
baz() {}
static baz() {}
}