mirror of
https://github.com/krgamestudios/Toy.git
synced 2026-04-15 14:54:07 +10:00
Added to a test
This commit is contained in:
@@ -38,4 +38,16 @@
|
||||
}
|
||||
|
||||
|
||||
//test dot calls
|
||||
{
|
||||
fn f() {
|
||||
return 42;
|
||||
}
|
||||
|
||||
var d = ["foo":f];
|
||||
|
||||
assert d.foo() == 42, "dot calls failed";
|
||||
}
|
||||
|
||||
|
||||
print "All good";
|
||||
|
||||
Reference in New Issue
Block a user