1
0
forked from Mirror/wren

Don't use generic function for finding method duplicates and add tests

This commit is contained in:
Stephen Belanger
2016-03-12 19:14:19 -08:00
parent 4cc3afd38b
commit 6dfbea1ea4
3 changed files with 38 additions and 20 deletions

View File

@ -0,0 +1,11 @@
class Foo {
construct new() {}
foo() {}
foo() {} // expect error
static bar() {}
static bar() {} // expect error
baz() {}
static baz() {}
}