1
0
forked from Mirror/wren

Rearrange the code a bit for duplicate method detections.

This commit is contained in:
Bob Nystrom
2016-03-15 07:15:55 -07:00
parent c1cea30131
commit 38699e3a81
2 changed files with 38 additions and 28 deletions

View File

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