[perl #131383] [IO][MOAR][REGRESSION] .readchars($size) sometimes returns $size+1 chars

2017-07-14 Thread jn...@jnthn.net via RT
On Sat, 27 May 2017 07:06:59 -0700, c...@zoffix.com wrote: > Seems something with decoding actually, since using char of different > size or adding another char after the heart avoids the issue: > > m: my $f1 = "/tmp/foo121212".IO; $f1.spurt: "fo♥"; > $f1.open.readchars(2).say > rakudo-moar 0c5f

[perl #131383] [IO][MOAR][REGRESSION] .readchars($size) sometimes returns $size+1 chars

2017-07-14 Thread jn...@jnthn.net via RT
On Sat, 27 May 2017 07:06:59 -0700, c...@zoffix.com wrote: > Seems something with decoding actually, since using char of different > size or adding another char after the heart avoids the issue: > > m: my $f1 = "/tmp/foo121212".IO; $f1.spurt: "fo♥"; > $f1.open.readchars(2).say > rakudo-moar 0c5f

[perl #131365] [IO] IO::Handle.getc returns too-many chars at the end of file

2017-07-14 Thread jn...@jnthn.net via RT
On Thu, 25 May 2017 08:26:18 -0700, c...@zoffix.com wrote: > IRC: https://irclog.perlgeek.de/perl6-dev/2017-05-25#i_14636375 > > Note how the last item in the returned list contains a string with > more than on character: > > 15:17 Zoffix m: with '/tmp/foo70'.IO { .spurt: "a♥c"; with .open { >

[perl #131365] [IO] IO::Handle.getc returns too-many chars at the end of file

2017-07-14 Thread jn...@jnthn.net via RT
On Thu, 25 May 2017 08:26:18 -0700, c...@zoffix.com wrote: > IRC: https://irclog.perlgeek.de/perl6-dev/2017-05-25#i_14636375 > > Note how the last item in the returned list contains a string with > more than on character: > > 15:17 Zoffix m: with '/tmp/foo70'.IO { .spurt: "a♥c"; with .open { >

[perl #131488] [BUG] .map as return value of sunk Promise doesn't get sunk

2017-07-14 Thread jn...@jnthn.net via RT
On Fri, 02 Jun 2017 15:43:07 -0700, c...@zoffix.com wrote: > Normally, if you sink a .map, it gets eagerly evaluated: > > m: .map: &say > rakudo-moar ef9872: OUTPUT: «a␤b␤c␤» > m: for ^1 { .map: &say; $ = 42 } > rakudo-moar ef9872: OUTPUT: «a␤b␤c␤» > > However, this doesn't ha

[perl #131488] [BUG] .map as return value of sunk Promise doesn't get sunk

2017-07-14 Thread jn...@jnthn.net via RT
On Fri, 02 Jun 2017 15:43:07 -0700, c...@zoffix.com wrote: > Normally, if you sink a .map, it gets eagerly evaluated: > > m: .map: &say > rakudo-moar ef9872: OUTPUT: «a␤b␤c␤» > m: for ^1 { .map: &say; $ = 42 } > rakudo-moar ef9872: OUTPUT: «a␤b␤c␤» > > However, this doesn't ha

[perl #131673] `is rw` on anon parameter causes "inconsistent bind result" error

2017-07-14 Thread jn...@jnthn.net via RT
On Wed, 28 Jun 2017 16:05:50 -0700, c...@zoffix.com wrote: > Works as expected: > 23:03 m: sub ($x is rw) {}(42) > camelia rakudo-moar 2a8d1e: OUTPUT: «Parameter '$x' expected > a writable container, but got Int value␤ in sub at line 1␤ > in block at line 1␤␤

[perl #131673] `is rw` on anon parameter causes "inconsistent bind result" error

2017-07-14 Thread jn...@jnthn.net via RT
On Wed, 28 Jun 2017 16:05:50 -0700, c...@zoffix.com wrote: > Works as expected: > 23:03 m: sub ($x is rw) {}(42) > camelia rakudo-moar 2a8d1e: OUTPUT: «Parameter '$x' expected > a writable container, but got Int value␤ in sub at line 1␤ > in block at line 1␤␤

[perl #129247] [CONC][BUG] Wait on a Supply after begin tap is hanging

2017-07-14 Thread Jan-Olof Hendig via RT
On Thu, 13 Jul 2017 16:49:00 -0700, ug...@cpan.org wrote: > Resolved in: https://github.com/rakudo/rakudo/commit/32b72cd > > Tests: https://github.com/perl6/roast/commit/927b026 Bug fixed and tests added, closing issue.

[perl #130760] Rakudo's usage message in the case of illegal options is printed to STDOUT, not STDERR

2017-07-14 Thread jn...@jnthn.net via RT
On Sat, 11 Feb 2017 00:42:38 -0800, moritz wrote: > $ perl6 --type=foo examples/dirstat.p6 > /dev/null > $ > This is Rakudo version 2017.01-170-gc0a907f built on MoarVM version > 2017.01-31-g20dfa6b > implementing Perl 6.c. > > Error messages should go to STDERR, so that pipes and redirects work a

[perl #130760] Rakudo's usage message in the case of illegal options is printed to STDOUT, not STDERR

2017-07-14 Thread jn...@jnthn.net via RT
On Sat, 11 Feb 2017 00:42:38 -0800, moritz wrote: > $ perl6 --type=foo examples/dirstat.p6 > /dev/null > $ > This is Rakudo version 2017.01-170-gc0a907f built on MoarVM version > 2017.01-31-g20dfa6b > implementing Perl 6.c. > > Error messages should go to STDERR, so that pipes and redirects work a

[perl #130760] Rakudo's usage message in the case of illegal options is printed to STDOUT, not STDERR

2017-07-14 Thread jn...@jnthn.net via RT
On Fri, 14 Jul 2017 09:15:59 -0700, jn...@jnthn.net wrote: > On Sat, 11 Feb 2017 00:42:38 -0800, moritz wrote: > > $ perl6 --type=foo examples/dirstat.p6 > /dev/null > > $ > > This is Rakudo version 2017.01-170-gc0a907f built on MoarVM version > > 2017.01-31-g20dfa6b > > implementing Perl 6.c. > >

[perl #130760] Rakudo's usage message in the case of illegal options is printed to STDOUT, not STDERR

2017-07-14 Thread jn...@jnthn.net via RT
On Fri, 14 Jul 2017 09:15:59 -0700, jn...@jnthn.net wrote: > On Sat, 11 Feb 2017 00:42:38 -0800, moritz wrote: > > $ perl6 --type=foo examples/dirstat.p6 > /dev/null > > $ > > This is Rakudo version 2017.01-170-gc0a907f built on MoarVM version > > 2017.01-31-g20dfa6b > > implementing Perl 6.c. > >

[perl #127951] Probably removing a p6bool where it shouldn't

2017-07-14 Thread Jan-Olof Hendig via RT
On Fri, 07 Oct 2016 14:03:39 -0700, barto...@gmx.de wrote: > I think the p6bool is removed here: > https://github.com/rakudo/rakudo/blob/605f272881a76f0c5a9e352670a1e61eaa627ca6/src/Perl6/Optimizer.nqp#L1300 > > As far as I understand, the following code shows the problem at a > lower level (no di