Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created April 5, 2019 20:19
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/763a72003ce751f9c601b07775ed6dd4 to your computer and use it in GitHub Desktop.
Save Whateverable/763a72003ce751f9c601b07775ed6dd4 to your computer and use it in GitHub Desktop.
evalable6
class A { has $.a; submethod BUILD (:$a)) { $!a = $a }; multi method new (Int $a) { self.bless(:$a) }; }; my $a = A.new('aa');
(exit code 1)
===SORRY!=== Error while compiling /tmp/6fiYmj3ihj
Missing block
at /tmp/6fiYmj3ihj:1
------> class A { has $.a; submethod BUILD (:$a)⏏) { $!a = $a }; multi method new (Int $a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment