Files
Nuake-custom/Nuake/Vendors/wren/test/language/method/duplicate_methods.wren
2025-01-30 22:41:17 -05:00

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() {}
}