Description:
perl6-compiler@perl.org (Moderated)
|
|
|
simple output test of JVM versus Parrot
|
| |
[rakudo.git]$ ./perl6 --version
This is perl6 version 2013.04-225-g7d2e5b4 built on JVM
[rakudo.git]$ time ./perl6 -e 'say "A simple test"'
A simple test
real 0m5.161s
user 0m9.387s
sys 0m0.799s
[rakudo.git]$ perl6 --version
This is perl6 version 2013.05 built on parrot 5.2.0 revision 0
[rakudo.git]$ time perl6 -e 'say "A simple test"'... more »
|
|
cannot specify optional positional with Mu as default
|
| |
...
[18:35:53] <lizmat> r: sub a ($a=Mu) { }; a
[18:35:54] <+camelia> rakudo 9c5650: OUTPUT«Nominal type check failed for parameter '$a'; expected Any but got Mu instead in sub a at /tmp/IvMlnzFJOY:1 in block at /tmp/IvMlnzFJOY:1»
[18:36:18] <lizmat> expected Any? but but, I specified Mu as the default... more »
|
|
Cannot .new / .clone TypedHash without losing typing
|
| |
...
[12:36:12] <lizmat> r: my %h{Any}; my %i=%h.new; say %h.WHAT; say %i.WHAT # did we agree that this was a rakudobug?
[12:36:14] <+camelia> rakudo 570d1d: OUTPUT«(Hash+{TypedHash})(Has h)»
[12:44:27] <lizmat> r: my %h{Any}; my %i=%h.clone; say %h.WHAT; say %i.WHAT # it also goes wrong for .clone, I assume because it uses .new... more »
|
|
.exists returns false on a %h{Any} in a TypedHash
|
| |
...
[23:54:47] <lizmat> r: my %h{Any}; %h{Any}=1; say (%h{Any}:p).perl; my @a=Any; say @a.perl; say (%h{@a}:p).perl
[23:54:49] <+camelia> rakudo 9c5650: OUTPUT«Any => 1Array.new(Any)use of uninitialized value of type Any in string context in block at /tmp/2ouUnJ18av:1((),)»... more »
|
|
|