[perl #120484] SEGV from coercion error

2015-02-07 Thread Christian Bartolomaeus via RT
This segfault is gone, also: $ perl6-p > my Int $x = NaN; Type check failed in assignment to '$x'; expected 'Int' but got 'Num' > ^D $ $ perl6-p --version This is perl6 version 2015.01-60-g12db81b built on parrot 7.0.1 revision RELEASE_7_0_1 So the same question as in ticket 115322: Is this c

[perl #115322] Segfault in Rakudo REPL

2015-02-07 Thread Christian Bartolomaeus via RT
This no longer results in a segfault: $ perl6-p > return Attempt to return outside of any Routine > last $ $ perl6-p --version This is perl6 version 2015.01-60-g12db81b built on parrot 7.0.1 revision RELEASE_7_0_1 Is this closable or do we need a test for the rakudo.parrot REPL?

[perl #120379] java.lang.NullPointerException from incomplete regex on the REPL

2015-02-07 Thread Christian Bartolomaeus via RT
This no longer gives a NullPointerException: $ perl6-j > 'asa' ~~ /:s ^a* % ===SORRY!=== Error while compiling Missing quantifier on the left argument of % at :2 --> ⏏ $ perl6-j --version This is perl6 version 2015.01-60-g12db81b built on JVM Is this closeable or do we need a test for the r

[perl #123380] [BUG] A script that gives different results when executed from a file and when pasted into REPL

2015-02-07 Thread Christian Bartolomaeus via RT
This is another case where it makes a difference whether the command comes on a single line or on two separate lines: $ perl6-m -e 'say "a".subst(/(.)/,{$0~$0}); say "%20" ~~ /:i \%(<[0..9A..F]>**2)/; say "a".subst(/(.)/,{$0~$0});' aa 「%20」 0 => 「20」 aa But with a newline in the echo command:

[perl #123187] rakudo-moar shell crashes after use of native type

2015-02-07 Thread Christian Bartolomaeus via RT
Some additions to this ticket: There is no error when both commands are on the same line: $ echo 'my int64 $t=0; $t.say' | perl6-m 0 The error is still reproducable when the commands are on separate lines (there is a newline in the shell command): $ echo 'my int32 $t=0; $t.

[perl #122344] indirect method calls with the colon

2015-02-07 Thread Christian Bartolomaeus via RT
The test was fixed with commit https://github.com/perl6/roast/commit/88c52fa8a2 It now starts with augment class Block { method xyzzy(Code $x: *@y) { $x.(@y) } } I'm closing this ticket.

Announce: Rakudo Star Release 2015.01

2015-02-07 Thread Moritz Lenz
# Announce: Rakudo Star Release 2015.01 ## A useful, usable, "early adopter" distribution of Perl 6 On behalf of the Rakudo and Perl 6 development teams, I'm happy to announce the January 2015 release of "Rakudo Star", a useful and usable distribution of Perl 6. The tarball for the January 2015 r

[perl #116649] [BUG] [R/]= doesn't parse in Rakudo

2015-02-07 Thread Christian Bartolomaeus via RT
This works now with Rakudo: $ perl6 -e 'my $x = 5; $x [R/]= 1; say $x' 0.2 $ perl6 -e 'sub r2cf(Rat $x is copy) { gather $x [R/]= 1 while ($x -= take $x.floor) > 0 }; say r2cf(1.4142136)' 1 2 2 2 2 2 2 2 2 2 6 1 2 4 1 1 2 I added a test to S03-metaops/reverse.t with commit https://github.com/p

[perl #120620] [BUG] Lazy list in hash loses contents

2015-02-07 Thread Christian Bartolomaeus via RT
I added test to S32-list/map.t with commit https://github.com/perl6/roast/commit/4eb80b2d48 In case that test is not appropriate, please reopen the ticket (or change the test).

[perl #72816] [BUG] Cannot assign to an undeclared dynamic variable in Rakudo

2015-02-07 Thread Christian Bartolomaeus via RT
Assignment to an undeclared dynamic variable fails now with a typed exception "X::Dynamic::NotFound" and an adequate error message: $ perl6 -e '$*x = 42' Dynamic variable $*x not found in method at src/gen/m-CORE.setting:14595 in any find_method_fallback at src/gen/m-Metamodel.nqp:2741 in