mirror of
https://github.com/wren-lang/wren.git
synced 2026-01-16 20:28:04 +01:00
Mainly to get rid of one top level directory. But this will also be useful when there are tests of the embedding API.
11 lines
148 B
Plaintext
11 lines
148 B
Plaintext
class Foo {
|
|
static test {
|
|
IO.print(this == Foo) // expect: true
|
|
IO.print(this.bar) // expect: bar
|
|
}
|
|
|
|
static bar { "bar" }
|
|
}
|
|
|
|
Foo.test
|