Files
wren/test/language/this/this_in_static_method.wren
T

11 lines
148 B
Plaintext
Raw Normal View History

class Foo {
static test {
IO.print(this == Foo) // expect: true
IO.print(this.bar) // expect: bar
}
static bar { "bar" }
}
Foo.test