examples: lang: Test that each of the mcl examples compiles

We let these rot, so fixup the issues and test them!
This commit is contained in:
James Shubin
2024-07-31 16:01:51 -04:00
parent 6de7d8b254
commit d0ed004b24
9 changed files with 34 additions and 19 deletions

View File

@@ -10,7 +10,7 @@ class foo {
$wow = "this is wow" # gets captured
class bar($a, $b) { # a parameterized class
print "bar-"+ $a {
print ["bar-"+ $a,] {
msg => fmt.printf("inside bar: %s", $b + "; " + $wow),
Meta:autogroup => false,