Skip to content

Instantly share code, notes, and snippets.

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