forked from Mirror/wren
Rearrange the code a bit for duplicate method detections.
This commit is contained in:
@ -2,10 +2,11 @@ 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() {}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user