Skip to content

Instantly share code, notes, and snippets.

@colomon
Last active December 19, 2015 02:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save colomon/5885572 to your computer and use it in GitHub Desktop.
Save colomon/5885572 to your computer and use it in GitHub Desktop.
eager do for @inverse-mapping -> $im {
say "in loop";
if $choice ~~ $i ..^ +$im.key {
say "wait a minute...";
return $im.value;
}
say "still in loop";
$i = $im.key; # src/gen/CORE.setting:12955
}
(output)
Before loop
in loop
java.lang.ArrayIndexOutOfBoundsException: 0
in (src/gen/CORE.setting:12955)
in (src/gen/CORE.setting:6074)
in reify (src/gen/CORE.setting)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment