2014-02-14 06:37:37 -08:00
|
|
|
class Foo {
|
|
|
|
|
static test {
|
2015-09-15 07:46:09 -07:00
|
|
|
System.print(this == Foo) // expect: true
|
|
|
|
|
System.print(this.bar) // expect: bar
|
2014-02-14 06:37:37 -08:00
|
|
|
}
|
|
|
|
|
|
2014-04-03 07:48:19 -07:00
|
|
|
static bar { "bar" }
|
2014-02-14 06:37:37 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Foo.test
|