Add tasks for all the new languages
This commit is contained in:
parent
9dc3c2bb62
commit
bba7bfd280
13208 changed files with 134745 additions and 0 deletions
|
|
@ -0,0 +1,14 @@
|
|||
func baz(i) { die "U#{i}" };
|
||||
func bar(i) { baz(i) };
|
||||
|
||||
func foo {
|
||||
[0, 1].each { |i|
|
||||
try { bar(i) }
|
||||
catch { |_, msg|
|
||||
msg ~~ /^U0/ ? say "Function foo() caught exception U0"
|
||||
: die msg; # re-raise the exception
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
foo();
|
||||
Loading…
Add table
Add a link
Reference in a new issue