Created
July 16, 2018 13:17
-
-
Save Whateverable/e8a99efe943b71300497aa6d768af6a2 to your computer and use it in GitHub Desktop.
committable6
This file contains 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
2016.06 constant \Unfinished = Metamodel::ClassHOW.new_type(:name<Unfinished>); class C { has Unfinished $!x; method m(Mu $!x) { } }; BEGIN C.new.m('nope') |
This file contains 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
¦«2016.06»: | |
===SORRY!=== Error while compiling /tmp/iok6Zpw2XA | |
An exception occurred while evaluating a BEGIN | |
at /tmp/iok6Zpw2XA:1 | |
Exception details: | |
Type check failed in assignment to $!x; expected Unfinished but got Str ("nope") | |
in method m at /tmp/iok6Zpw2XA line 1 | |
in any m at src/Perl6/World.nqp line 2195 | |
in code at /tmp/iok6Zpw2XA line 1 | |
«exit code = 1» |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment