forked from Mirror/wren
13 lines
221 B
Plaintext
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() {}
|
|
}
|