Created
April 5, 2019 20:18
-
-
Save Whateverable/6516fd3ecfb1e6c778505c77c8a9eee9 to your computer and use it in GitHub Desktop.
evalable6
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
class A { has $.a; submethod BUILD (:$!a:($a)) { }; multi method new (Int $a) { self.bless(:$a) }; }; my $a = A.new('aa'); |
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
(exit code 1) | |
===SORRY!=== Error while compiling /tmp/rCZD2xzmbG | |
Attribute $!a: not declared in class A | |
at /tmp/rCZD2xzmbG:1 | |
------> thod new (Int $a) { self.bless(:$a) }; }⏏; my $a = A.new('aa'); | |
expecting any of: | |
horizontal whitespace |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment