Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
|
|
@ -0,0 +1,14 @@
|
|||
import "meta" for Meta
|
||||
|
||||
class Test {
|
||||
construct new() {}
|
||||
|
||||
foo() { System.print("Foo called.") }
|
||||
|
||||
bar() { System.print("Bar called.") }
|
||||
}
|
||||
|
||||
var test = Test.new()
|
||||
for (method in ["foo", "bar"]) {
|
||||
Meta.eval("test.%(method)()")
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue