Created
December 9, 2019 08:58
-
-
Save Whateverable/f884c3312718c8801f9db6cae5ffbc62 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
role R[Str:D $n]{our Str:D $n = $n};role R2[Str:D $n]{also does R[$n]};class A does R2['asd'] {};say A.n |
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!=== | |
Cannot use variable $n in declaration to initialize itself | |
at /tmp/G_HLIMHEbe:1 | |
------> role R[Str:D $n]{our Str:D $n = $⏏n};role R2[Str:D $n]{also does R[$n]};cl | |
expecting any of: | |
term | |
Other potential difficulties: | |
Redeclaration of symbol '$n' | |
at /tmp/G_HLIMHEbe:1 | |
------> role R[Str:D $n]{our Str:D $n⏏ = $n};role R2[Str:D $n]{also does R[$n] | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment