mirror of
https://github.com/krgamestudios/Toy.git
synced 2026-04-15 23:04:08 +10:00
10 lines
126 B
Plaintext
10 lines
126 B
Plaintext
|
|
fn add(self, inc) {
|
|
return self + inc;
|
|
}
|
|
|
|
assert 1.add(2).add(3).add(4) == 10, "dottify bugfix failed";
|
|
|
|
|
|
print "All good";
|