Files
wren/test/language/class/lowercase_name_inside_body.wren
T

16 lines
251 B
Plaintext
Raw Normal View History

class foo {
static callFoo {
IO.print(foo)
}
callFoo {
IO.print(foo)
}
foo { "instance foo method" }
static foo { "static foo method" }
}
foo.callFoo // expect: static foo method
2015-07-10 09:18:22 -07:00
foo.new().callFoo // expect: instance foo method