Skip to content

Instantly share code, notes, and snippets.

@peschwa
Created January 26, 2015 16:16
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save peschwa/f124c3f84b69e6d37d5e to your computer and use it in GitHub Desktop.
$ perl6-j -e'start { while true { 1 } }'
===SORRY!===
Function true needs parens to avoid gobbling block
at -e:1
------> start { while true { 1 }⏏ }
Missing block (apparently taken by 'true')
at -e:1
------> start { while true { 1 } ⏏}
$ echo -ne "start { while true { 1 } }\n" | ./perl6-j --ll-exception
> start { while true { 1 } }
java.lang.NullPointerException
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment