Created
April 8, 2015 09:28
-
-
Save jnthn/1bb97ea3820d5248d6ad to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ perl6-m -e "BEGIN { my Int $i = 'omg' };" | |
===SORRY!=== Error while compiling -e | |
An exception occurred while evaluating a BEGIN | |
at -e:1 | |
Exception details: | |
Type check failed in assignment to '$i'; expected 'Int' but got 'Str' | |
in block at -e:1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment