1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
context foo Int: int D: d def d [] end Foo: foo = new foo() Foo->Int = 1 Foo->D = construct foo::d[] print "[Foo->Int] ##### EXP ##### 1