Created
January 19, 2015 03:36
-
-
Save skids/11d8dca21973925c7850 to your computer and use it in GitHub Desktop.
rakudo newline dependent behavior
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
# cat /tmp/A.pm6 | |
role A [ :$bs where { True } = 512] { } | |
# PERL6LIB=/tmp/ perl6-m -e 'use A; class B does A[ ] { }; B.new;' | |
===SORRY!=== | |
None of the parametric role variants for 'A' matched the arguments supplied. | |
Cannot modify an immutable Block | |
# emacs /tmp/A.pm6 | |
# cat /tmp/A.pm6 | |
role A [ :$bs where { True } | |
= 512] { } | |
# PERL6LIB=/tmp/ perl6-m -e 'use A; class B does A[ ] { }; B.new;' | |
# If the results are not as above, try precompiling at the appropriate times. | |
# Sometimes the symptom only appears when precompiled. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment