[perl #116595] [BUG] Nesting wrapping roles bind 'callsame' to the wrong recipient in Rakudo

2018-06-21 Thread Will Coleda via RT
On Wed, 30 Jan 2013 07:17:38 -0800, masak wrote: > rn: role F[$n] { method x { callsame; callsame until $.v % $n } > }; class S { has $.v is rw = 1; method x { ++$.v } }; my $s = S.new; for > ^3 { $s.x; say $s.v; $s = $s but F[$s.v] } > niecza v24-18-gaf64300: OUTPUT«2␤3␤5␤» > ..rakudo

[perl #116595] [BUG] Nesting wrapping roles bind 'callsame' to the wrong recipient in Rakudo

2018-06-21 Thread Will Coleda via RT
On Wed, 30 Jan 2013 07:17:38 -0800, masak wrote: > rn: role F[$n] { method x { callsame; callsame until $.v % $n } > }; class S { has $.v is rw = 1; method x { ++$.v } }; my $s = S.new; for > ^3 { $s.x; say $s.v; $s = $s but F[$s.v] } > niecza v24-18-gaf64300: OUTPUT«2␤3␤5␤» > ..rakudo

[perl #124998] [BUG] Type of $¢ is Any instead of Cursor

2018-06-21 Thread Will Coleda via RT
On Wed, 27 Jul 2016 12:29:11 -0700, coke wrote: > Here's the test: > > my $c; > ok 'abc' ~~ /.{ $c = $¢ }/, 'current match state'; > #?rakudo todo 'Type of $¢ is Any instead of Cursor - RT #124998' > is $c.WHAT, Cursor.WHAT,'got right type'; > > This might be a faulty test, however:

[perl #124998] [BUG] Type of $¢ is Any instead of Cursor

2018-06-21 Thread Will Coleda via RT
On Wed, 27 Jul 2016 12:29:11 -0700, coke wrote: > Here's the test: > > my $c; > ok 'abc' ~~ /.{ $c = $¢ }/, 'current match state'; > #?rakudo todo 'Type of $¢ is Any instead of Cursor - RT #124998' > is $c.WHAT, Cursor.WHAT,'got right type'; > > This might be a faulty test, however:

[perl #132349] [REGRESSION] $*IN.getc not blocking on macOS

2017-10-23 Thread Will Coleda via RT
On Sun, 22 Oct 2017 12:25:07 -0700, b...@post.pl wrote: > There is no strace on macOS, I used dtruss (dtrace): > > $ dtruss -p 1827 > SYSCALL(args) = return > fstat64(0x0, 0x7FFF5B18B2F0, 0x1) = 0 0 > lseek(0x0, 0x0, 0x1) = 54132 0 > write(0x1, "Nil\n\0",

[perl #132349] [REGRESSION] $*IN.getc not blocking on macOS

2017-10-23 Thread Will Coleda via RT
On Sun, 22 Oct 2017 12:25:07 -0700, b...@post.pl wrote: > There is no strace on macOS, I used dtruss (dtrace): > > $ dtruss -p 1827 > SYSCALL(args) = return > fstat64(0x0, 0x7FFF5B18B2F0, 0x1) = 0 0 > lseek(0x0, 0x0, 0x1) = 54132 0 > write(0x1, "Nil\n\0",

[perl #132108] [REGRESSION] Test output should not be buffered even for non-TTYs (prove -j 8 …)

2017-09-16 Thread Will Coleda via RT
See https://rt.cpan.org/Public/Bug/Display.html?id=108390 which was mentioned here: https://irclog.perlgeek.de/perl6/2017-09-13#i_15159739 -- Will "Coke" Coleda

[perl #132108] [REGRESSION] Test output should not be buffered even for non-TTYs (prove -j 8 …)

2017-09-16 Thread Will Coleda via RT
See https://rt.cpan.org/Public/Bug/Display.html?id=108390 which was mentioned here: https://irclog.perlgeek.de/perl6/2017-09-13#i_15159739 -- Will "Coke" Coleda

[perl #129878] [BUG][UNI] Stringifying a List adds in spaces between each item

2017-09-06 Thread Will Coleda via RT
On Fri, 14 Oct 2016 11:06:54 -0700, c...@cpan.org wrote: > Cf > > say ("\c[REGIONAL INDICATOR SYMBOL LETTER G]" x 2).chars #=> 2 > > vs > > say ([~] "\c[REGIONAL INDICATOR SYMBOL LETTER G]" xx 2).chars #=> 1 > With a recent rakudo, these now both output 1 > say ("\c[REGIONAL

[perl #129878] [BUG][UNI] Stringifying a List adds in spaces between each item

2017-09-06 Thread Will Coleda via RT
On Fri, 14 Oct 2016 11:06:54 -0700, c...@cpan.org wrote: > Cf > > say ("\c[REGIONAL INDICATOR SYMBOL LETTER G]" x 2).chars #=> 2 > > vs > > say ([~] "\c[REGIONAL INDICATOR SYMBOL LETTER G]" xx 2).chars #=> 1 > With a recent rakudo, these now both output 1 > say ("\c[REGIONAL

[perl #131997] New Rakudo Star Bug

2017-09-01 Thread Will Coleda via RT
On Wed, 30 Aug 2017 09:15:53 -0700, stephen.john@gmail.com wrote: > This is Rakudo version 2017.04.3 built on MoarVM version 2017.04-53- > g66c6dda > implementing Perl 6.c. > > As mentioned on IRC #perl6 today 16:50. > Apologies if this is down to newbie error - please do let me know if > (&

[perl #131997] New Rakudo Star Bug

2017-09-01 Thread Will Coleda via RT
On Wed, 30 Aug 2017 09:15:53 -0700, stephen.john@gmail.com wrote: > This is Rakudo version 2017.04.3 built on MoarVM version 2017.04-53- > g66c6dda > implementing Perl 6.c. > > As mentioned on IRC #perl6 today 16:50. > Apologies if this is down to newbie error - please do let me know if > (&

[perl #131973] [RFC] Backtracking modifiers on individual atoms fail to override a regex-global `:ratchet` modifier.

2017-08-28 Thread Will Coleda via RT
On Sun, 27 Aug 2017 10:03:52 -0700, sml...@gmail.com wrote: > Based on S05, these test-cases should all pass: > > is "ab" ~~ / [ab | a ] b /, "ab", 'normal backtracking'; > is "ab" ~~ / [ab | a ]: b /, Nil, 'locally disabled backtracking'; > is "ab" ~~ / :r [ab | a ] b /, Nil,

[perl #131973] [RFC] Backtracking modifiers on individual atoms fail to override a regex-global `:ratchet` modifier.

2017-08-28 Thread Will Coleda via RT
On Sun, 27 Aug 2017 10:03:52 -0700, sml...@gmail.com wrote: > Based on S05, these test-cases should all pass: > > is "ab" ~~ / [ab | a ] b /, "ab", 'normal backtracking'; > is "ab" ~~ / [ab | a ]: b /, Nil, 'locally disabled backtracking'; > is "ab" ~~ / :r [ab | a ] b /, Nil,

[perl #131781] :?smth should construct a truthy pair (say (:?foo))

2017-07-24 Thread Will Coleda via RT
On Sat, 22 Jul 2017 09:12:31 -0700, c...@zoffix.com wrote: > On Sat, 22 Jul 2017 07:53:26 -0700, alex.jakime...@gmail.com wrote: > > This should work: > > > > Code: > > say (:?foo); > > > > Result: > > ===SORRY!=== Error while compiling -e > > Bogus statement > > at -e:1 > > --> say (:⏏?foo);

[perl #131781] :?smth should construct a truthy pair (say (:?foo))

2017-07-24 Thread Will Coleda via RT
On Sat, 22 Jul 2017 09:12:31 -0700, c...@zoffix.com wrote: > On Sat, 22 Jul 2017 07:53:26 -0700, alex.jakime...@gmail.com wrote: > > This should work: > > > > Code: > > say (:?foo); > > > > Result: > > ===SORRY!=== Error while compiling -e > > Bogus statement > > at -e:1 > > --> say (:⏏?foo);

[perl #131704] Can't use unknown trait 'is export' in a regex declaration

2017-07-05 Thread Will Coleda via RT
On Tue, 04 Jul 2017 22:27:14 -0700, lloyd.fo...@gmail.com wrote: > perl6 -e 'constant $foo is export = /foo/;' > > seems to be being called on the regex rather than the variable?? Please include: perl6 version; the result of the command, and the expected result. Thanks. -- Will "Coke" Coleda

[perl #131708] [BUILD]. Rakudo Star build instructions incomplete

2017-07-05 Thread Will Coleda via RT
On Wed, 05 Jul 2017 09:16:44 -0700, tbrowder wrote: > Given this invocation for a new installation of rakudo: > > perl Configure.pl --backend=moar --gen-moar --prefix=/some/dir > > /some/dir needs to exist and belong to the user attempting the > installation. That usually forces the user to

[perl #131708] [BUILD]. Rakudo Star build instructions incomplete

2017-07-05 Thread Will Coleda via RT
On Wed, 05 Jul 2017 09:16:44 -0700, tbrowder wrote: > Given this invocation for a new installation of rakudo: > > perl Configure.pl --backend=moar --gen-moar --prefix=/some/dir > > /some/dir needs to exist and belong to the user attempting the > installation. That usually forces the user to

[perl #131709] [BUILD] rakudo installation page dooesn't tell where to report star bugs

2017-07-05 Thread Will Coleda via RT
This queue is for rakudo perl6 compiler bugs. This ticket probably belongs in the github rakudo/star queue. Regards. -- Will "Coke" Coleda

[perl #131709] [BUILD] rakudo installation page dooesn't tell where to report star bugs

2017-07-05 Thread Will Coleda via RT
This queue is for rakudo perl6 compiler bugs. This ticket probably belongs in the github rakudo/star queue. Regards. -- Will "Coke" Coleda

[perl #125656] [CONC] Creating too many Proc::Async objects fills the file descriptor table, which causes libuv to abort()

2017-06-19 Thread Will Coleda via RT
On Mon, 20 Jul 2015 20:09:39 -0700, r...@hoelz.ro wrote: > See the attached script. Still dying with version 2017.06-13-g6b634a369 built on MoarVM version 2017.06-2-gcc27eebf -- Will "Coke" Coleda

[perl #125656] [CONC] Creating too many Proc::Async objects fills the file descriptor table, which causes libuv to abort()

2017-06-19 Thread Will Coleda via RT
On Mon, 20 Jul 2015 20:09:39 -0700, r...@hoelz.ro wrote: > See the attached script. Still dying with version 2017.06-13-g6b634a369 built on MoarVM version 2017.06-2-gcc27eebf -- Will "Coke" Coleda

[perl #131492] Camelia produces different error message from commandline

2017-06-08 Thread Will Coleda via RT
On Wed, 07 Jun 2017 11:46:03 -0700, ben-goldb...@hotmail.com wrote: > On Monday, June 05, 2017 5:05 PM, Will Coleda via RT wrote: > > On Fri, 02 Jun 2017 23:29:40 -0700, ben-goldb...@hotmail.com wrote: > > > On #perl6 IRC, I typed this: > > > > >

[perl #131492] Camelia produces different error message from commandline

2017-06-08 Thread Will Coleda via RT
On Wed, 07 Jun 2017 11:46:03 -0700, ben-goldb...@hotmail.com wrote: > On Monday, June 05, 2017 5:05 PM, Will Coleda via RT wrote: > > On Fri, 02 Jun 2017 23:29:40 -0700, ben-goldb...@hotmail.com wrote: > > > On #perl6 IRC, I typed this: > > > > >

Re: [perl #131481] [BUG] No perl6-debug

2017-06-08 Thread Will Coleda via RT
TBD there indicates that the documentation is yet to be done. On Thu, Jun 8, 2017 at 4:38 AM, Richard Hainsworth wrote: > Thanks for feedback. A follow up: > > >> >> Yes, use `no precompilation` pragma. >> >> > So I would have in the topmost program: > > use v6.c; > no

[perl #131492] Camelia produces different error message from commandline

2017-06-05 Thread Will Coleda via RT
On Fri, 02 Jun 2017 23:29:40 -0700, ben-goldb...@hotmail.com wrote: > On #perl6 IRC, I typed this: > > m: my \foo = Callable but role :: { }; > <+camelia> rakudo-moar ef9872: OUTPUT: «X::Method::NotFound exception > produced no message␤ in block at line 1␤␤» > > If, at my command prompt, I

[perl #131492] Camelia produces different error message from commandline

2017-06-05 Thread Will Coleda via RT
On Fri, 02 Jun 2017 23:29:40 -0700, ben-goldb...@hotmail.com wrote: > On #perl6 IRC, I typed this: > > m: my \foo = Callable but role :: { }; > <+camelia> rakudo-moar ef9872: OUTPUT: «X::Method::NotFound exception > produced no message␤ in block at line 1␤␤» > > If, at my command prompt, I

[perl #131505] [@LARRY] Special case allomorph coercion everywhere

2017-06-05 Thread Will Coleda via RT
On Sat, 03 Jun 2017 21:20:49 -0700, c...@zoffix.com wrote: > (found in discussion in > https://rt.perl.org/Ticket/Display.html?id=131493 ) > > > We have some special casing for coercion of allomorphs in some > instances, which > is done so there'd be some way to force one of the two types to

[perl #131505] [@LARRY] Special case allomorph coercion everywhere

2017-06-05 Thread Will Coleda via RT
On Sat, 03 Jun 2017 21:20:49 -0700, c...@zoffix.com wrote: > (found in discussion in > https://rt.perl.org/Ticket/Display.html?id=131493 ) > > > We have some special casing for coercion of allomorphs in some > instances, which > is done so there'd be some way to force one of the two types to

[perl #131385] NQP converts large integers to floats when it shouldn't/doesn't need to

2017-05-29 Thread Will Coleda via RT
Moved ticket to https://github.com/perl6/nqp/issues/363 in the NQP issues queue. -- Will "Coke" Coleda

[perl #131385] NQP converts large integers to floats when it shouldn't/doesn't need to

2017-05-29 Thread Will Coleda via RT
Moved ticket to https://github.com/perl6/nqp/issues/363 in the NQP issues queue. -- Will "Coke" Coleda

[perl #130603] Test (module) fails while all tests return ok

2017-01-20 Thread Will Coleda via RT
On Fri, 20 Jan 2017 06:09:00 -0800, mt1...@gmail.com wrote: > Hi, > > Since using Log::Async in MongoDB I get problems while testing. All > tests run ok but at the end the Test returns failure > > > ... > > ok 6 - Testing explain and performance using hint > > 2017-01-20 13:04:40.783616 [I]

[perl #130590] HyperWhatever does not work with reduction metaop ([+] **)

2017-01-20 Thread Will Coleda via RT
On Thu, 19 Jan 2017 18:10:27 -0800, alex.jakime...@gmail.com wrote: > I guess it is supposed to work? Why? -- Will "Coke" Coleda

[perl #130419] |, ^, and & character class set operators aren't parseable

2016-12-30 Thread Will Coleda via RT
On Fri, 30 Dec 2016 13:36:03 -0800, jn...@jnthn.net wrote: > On Tue, 27 Dec 2016 14:32:45 -0800, comdog wrote: > > These are documented in https://docs.perl6.org/language/regexes but > > are > > not marked as "not implemented" or something similar. > > I doubt they'll be implemented particularly

[perl #130294] [SEGV] native 2d array example SEGV's

2016-12-20 Thread Will Coleda via RT
Attaching gistfile to ticket -- Will "Coke" Coleda use v6; my $size = 3001; my int @mat[$size; $size]; init-array(0, $size - 1, $size * $size); say 'done'; sub init-array($r, $c, $val) { @mat[$r; $c] = $val; if $c - 1 >= 0 { # left init-array($r, $c - 1, $val - 1); } elsif $r + 1

[perl #130377] [BUG] write on closed socket not failing as it should

2016-12-20 Thread Will Coleda via RT
On Mon, 19 Dec 2016 14:38:09 -0800, bradl...@dal.ca wrote: > This is Rakudo version 2016.11 built on MoarVM version 2016.11 > implementing Perl 6.c. > > Here is a program that demonstrates the problem. > > use v6; > > my $s = IO::Socket::INET.new(:host('irc.freenode.net'), :port(6667)); >

[perl #130253] [NYI] Coercion type in variable declarations

2016-12-06 Thread Will Coleda via RT
On Sat, 03 Dec 2016 11:31:59 -0800, pe...@mscha.org wrote: > Coercion type works quite nicely in signatures, e.g. > > sub foo(Int(Cool) $f) { > say $f.WHAT; > } > foo "42";# (Int) > > but it doesn't work yet in variable declarations, e.g. > > my Int(Cool) $x; $x

[perl #130231] [LTA] Nil.chrs complains about the use of Nil in numeric context, but isn't it a string context? (Nil.chrs)

2016-12-02 Thread Will Coleda via RT
On Thu, 01 Dec 2016 15:11:31 -0800, alex.jakime...@gmail.com wrote: > Code: > Nil.chrs > > Result: > Use of Nil in numeric context > in block at -e line 1 > > > At the same time: > > Code: > Nil.ords > > Result: > Use of Nil in string context > in block at -e line 1 > > > I think that

[perl #130216] Does Perl 6 support POSIX character classes?

2016-11-29 Thread Will Coleda via RT
On Tue, 29 Nov 2016 12:33:21 -0800, comdog wrote: > On https://docs.perl6.org/language/regexes , it says "POSIX character > classes", then lists the names of the POSIX character classes. When I > try these, they don't seem to respect the locale (see > http://stackoverflow.com/q/40863736/2766176).

[perl #129296] [REGRESSION] Splitting non-binary handles no longer works (run(:out, "ls").out.split: 0.chr)

2016-11-18 Thread Will Coleda via RT
On Sun, 18 Sep 2016 03:14:30 -0700, elizabeth wrote: > Fixed by reverting 1a03efe4e3b61a07b7df5 in 363a3a899f2cb342d1ca5 . Can we close the case? -- Will "Coke" Coleda

[perl #126828] [BUG] .narrow now fails on a Complex with a zero real part.

2016-11-18 Thread Will Coleda via RT
On Wed, 09 Dec 2015 00:08:19 -0800, moritz wrote: > On Sat Dec 05 17:12:49 2015, thunderg...@comcast.net wrote: > > Complex.narrow fails when the real part is zero. > > > > $ perl6 -e' say 0+1i.narrow ' > > Attempt to divide 1 by zero using / > >in block at -e:1 > > > >

[perl #128912] [BUG] decimal->float bad rounding

2016-11-18 Thread Will Coleda via RT
On Fri, 12 Aug 2016 09:46:38 -0700, zef...@fysh.org wrote: > > (9.999e-5 * 2e0**66).Int * 5**8 - * 2**58 > 287369 > > (9.99895e-5 * 2e0**66).Int * 5**8 - * 2**58 > -103256 > > The above computations show, scaled up, the difference between a Num value > and the exact value

[perl #130050] placement of use statement

2016-11-08 Thread Will Coleda via RT
On Tue, 08 Nov 2016 04:42:32 -0800, mt1...@gmail.com wrote: > Hi, > > in rakudo 2016.10-249-gb84158c built on MoarVM version > 2016.10-37-gf769569 implementing Perl 6.c, I've seen the following problem. > > When a use statement was placed as the first one, the class was not > recognized and I

[perl #122447] Cannot precompile sub with params returning a proxy

2016-10-26 Thread Will Coleda via RT
On Tue Oct 07 11:21:19 2014, david.warring wrote: > I just tried that on perl6 version 2014.09-161-gc24537e. Seems to now > work on all backends without errors. > > Tests have been added to S10-packages/precompilation.t Can we close the ticket, then? -- Will "Coke" Coleda

[perl #129948] [BUG] repl error

2016-10-24 Thread Will Coleda via RT
On Sun Oct 23 15:00:57 2016, gordmi...@gmail.com wrote: > I'm using perl 6, version "This is Rakudo version 2016.10 built on MoarVM > version 2016.10 > implementing Perl 6.c.". > > When I launch perl6 as repl it prints an error message: > "I ran into a problem while trying to set up Readline:

[perl #123700] [BUG] mysterious subset failures

2016-10-20 Thread Will Coleda via RT
On Fri Oct 23 13:29:12 2015, barto...@gmx.de wrote: > Did you report the issue with precomp? If so, this ticket can be > closed. > > Christian This was 2015; precompilation has undergone a lot of changes since then. If you are still experiencing issues, please open a new ticket. -- Will

[perl #64766] Possibly inconsistent behaviour in mixing-in of 'handles'

2016-09-27 Thread Will Coleda via RT
On Fri Dec 18 08:26:09 2015, jn...@jnthn.net wrote: > On Thu Apr 16 06:23:35 2009, masak wrote: > > OH HAI from NPW::2009. > > > > In Rakudo 2c13d6c, the 'handles' instruction on attributes in roles > > don't override those of the class it mixes in. > > > > $ perl6 -e 'class A { method foo { say

[perl #128579] [JVM] ver and auth meta methods not present on packages

2016-09-27 Thread Will Coleda via RT
The tests added as part of the ticket rejection fail on the JVM; re-opening until they pass. -- Will "Coke" Coleda

[perl #127215] Negative codepoint in .comb + /:m/

2016-09-19 Thread Will Coleda via RT
On Fri Jan 08 21:03:49 2016, ju...@tnx.nl wrote: > $ perl6 -e'say "hello".comb(/:m <[o]>/)' > ===SORRY!=== > chr codepoint cannot be negative > -- Will "Coke" Coleda I can no longer duplicate this: $ perl6 --version This is Rakudo version 2016.08.1 built on MoarVM version 2016.08

[perl #125331] [BUG] Match on undefined value returns twodifferent warning messages

2016-09-19 Thread Will Coleda via RT
On Fri Jun 05 02:00:55 2015, ppab...@implix.com wrote: > $ perl6 -e 'loop { $_ ~~ /.+/ }' > > While it runs two different error messages are returned: > > 1. Use of uninitialized value of type Any in string context in block > at -e:1 > 2. Use of uninitialized value of type Any in string context

[perl #129252] [RFC] routines sprintf and printf need auto newline capability

2016-09-12 Thread Will Coleda via RT
On Sun Sep 11 13:48:04 2016, tbrowder wrote: > Both routines need an alias (or adverb) so that a newline is > automatically appended to the output. I would like to see something > like: > > sprintfn > printfn > > or > > sprintf-n > printf-n > > or > > sprintf-nl > printf-nl -1 from me. --

[perl #129162] .IO.l does not work on dangling symlinks

2016-09-02 Thread Will Coleda via RT
On Thu Sep 01 10:05:03 2016, gfldex wrote: > perl6 -e "dd 'stale-symlink'.IO.l" > # OUTPUT Failure.new(exception => X::IO::DoesNotExist.new(path => > "stale-symlink", trying => "l", os-error => Any), backtrace => > Backtrace.new) > > # .IO.l should return true and .IO.e should return false on

[perl #118607] [LTA] Suggest multi in "redeclaration of sub foo" error

2016-08-31 Thread Will Coleda via RT
On Tue Aug 30 10:07:57 2016, ddgr...@gmail.com wrote: > On Sun Jun 23 04:26:36 2013, Ayiko wrote: > > use v6; > > sub foo() { say 'hi'; }; > > sub foo($i) { say "hi $i"; }; > > foo(); > > > > Gives as error > > ===SORRY!=== > > Redeclaration of routine foo > > at test2.pl:3 > > --> sub

[perl #114388] LTA error when using s[] = "rea"

2016-08-31 Thread Will Coleda via RT
On Fri Apr 17 03:58:32 2015, barto...@gmx.de wrote: > The first evaluation fails again (no method 'subst-mutate' nowadays), > so I'm re-opening this ticket. > > $ perl6 -e 's[ea] = "rea";' > Method 'subst-mutate' not found for invocant of class 'Any' > in block at -e:1 > > We're back to "We

[perl #127099] [CONC] hyper messes up order of the results (i.e. @result !~~ @result.sort)

2016-08-25 Thread Will Coleda via RT
On Wed Dec 30 16:00:38 2015, alex.jakime...@gmail.com wrote: > Code: > my @result = ^1000 .hyper.map: * + 10; > say @result ~~ @result.sort > > Result: > False > > 「hyper」 is supposed to give results in the original order. > “The order of elements is preserved.”

[perl #126473] [STAR] Unhandled exception: failed to load library 'dynext/libperl6_ops_moar.dylib'

2016-08-25 Thread Will Coleda via RT
On Wed Oct 28 02:37:08 2015, christian.aperg...@lidil.univ-mrs.fr wrote: > To avoid this bug, in rakudo 2015.7 we just start rakudo-star-2015.07/perl6 > > In the new release rakudo-star-2015.09, this shell is no more present, > and starting rakudo-star-2015.09/rakudo/perl6 > returns this message

[perl #126536] [BUG] error message borked for infix:<< <=> >> and numeric coersion

2016-08-25 Thread Will Coleda via RT
On Mon Nov 02 03:42:01 2015, gfldex wrote: > say 'a' <=> 'b'; > # OUTPUT«X::Multi::NoMatch exception produced no message in block > at /tmp/Pc4rxu0Uv1:1» Works fine now: $ perl6 -e "say 'a' <=> 'b';" Cannot convert string to number: base-10 number must begin with valid digits or '.' in '⏏a'

[perl #128718] Strange error when attempting to redo a supply block

2016-08-25 Thread Will Coleda via RT
On Sat Jul 23 20:47:04 2016, c...@zoffix.com wrote: > Not even sure what causes that, but removing the `redo` avoids the error. > > $ perl6 -e 'react { whenever supply { emit 42; redo } { .say } }' > 42 > No such method 'CALL-ME' for invocant of type 'Bool' > in block at -e line 1 > >

[perl #81278] Can't defer to return()

2016-08-25 Thread Will Coleda via RT
On Wed Jul 08 09:55:39 2015, coke wrote: > On Fri Jan 04 04:38:30 2013, bbkr wrote: > > On 2012.12: > > > > r: sub f($x) { multi return($nv) { nextwith($nv /2); }; > > return $x; }; say f 6 > >rakudo 70262f: OUTPUT«===SORRY!===␤Method 'is_dispatcher' > > not found for > > invocant of class

[perl #127889] rakudo build failure for ppc64 archi

2016-08-23 Thread Will Coleda via RT
On Wed Apr 13 05:09:55 2016, norm...@linux.vnet.ibm.com wrote: > rakudo build failure for ppc64 archi > > As reported by (1) failure with last tried version rakudo 2016.01 > while the last working version was rakudo 2015.05 > > Probably big-endian specific because no failure with ppc64le archi.

[perl #128203] S06-advanced/wrap.t in 6.c-errata roast branch fails a test

2016-08-23 Thread Will Coleda via RT
On Tue Jun 14 19:51:08 2016, c...@zoffix.com wrote: > It's just a bad test that relies too much on the internal > implementation of subtest(). The explanation is here (esp. last few > lines with jnthn++'s explanation): > https://github.com/rakudo/rakudo/pull/743#issuecomment-210489723 So can we

[perl #127538] BEGIN require Test <>;

2016-08-23 Thread Will Coleda via RT
On Sat Feb 13 16:21:50 2016, lloyd.fo...@gmail.com wrote: > BEGIN require Test <>; > > Lexical with name '' does not exist in this frame Note that this works: > BEGIN { require Test ""} (Test) -- Will "Coke" Coleda

[perl #127569] [BUG] lexical packages leak into SETTING::

2016-08-23 Thread Will Coleda via RT
On Thu Feb 18 18:38:20 2016, lloyd.fo...@gmail.com wrote: > When a package already exists in an outer scope, any package declared > will > insert itself into it even if it's meant to be lexically scoped. This > includes the SETTING(s) (the most outer scopes). It is also > problematic for > our

[perl #127485] "panda look SomeModule" makes perl6 hang (!!)

2016-08-23 Thread Will Coleda via RT
Closing ticket since no longer reproducible; adding a test would be nice, but probably very difficult. -- Will "Coke" Coleda

[perl #127264] [BUG] Inconsistent file information

2016-08-23 Thread Will Coleda via RT
On Thu Jan 14 03:33:28 2016, nadim.khe...@gmail.com wrote: > $?FILE is the path and file name > > callsframe.file returns the file name only This is no longer an issue in at least 2016.07.1 Closable with tests. -- Will "Coke" Coleda

[perl #126238] LTM does not seem to apply within metaoperators, or does not take new operators in account.

2016-08-23 Thread Will Coleda via RT
On Thu Oct 01 09:21:34 2015, cognominal wrote: > LTM does not seem to apply within metaoperators, or does not take new > operators in account. > Discussion http://irclog.perlgeek.de/perl6/2015-10-01#i_11304291 > > cognominal m: my token infix:sym<--\>> { "$^a -> $^b\n" }; [~] > 'a' X[-->] >

[perl #125412] [BUG] using syntax "@a of Int" (multiple times) leads to weird type check errors

2016-08-23 Thread Will Coleda via RT
On Mon Jun 15 01:43:52 2015, andr...@gmail.com wrote: > % perl6 -v > This is perl6 version 2015.05-197-g28a7697 built on MoarVM version > 2015.05-79-g458940f > > > > sub x() returns Array of Int { my @x of Int = 1,2,3 }; > sub x ( --> Array[Int]) { #`(Sub|42347328) ... } > > x().WHAT.say > Type

[perl #125680] [BUG] "..." produces a low-level backtrace; running code from file and with -e is different

2016-08-23 Thread Will Coleda via RT
On Fri Jul 24 11:26:41 2015, alex.jakime...@gmail.com wrote: > Code: > ... > > Result: > Unhandled exception: Stub code executed >at :1 > (/home/alex/git/rakudobrew/moar- > nom/install/share/perl6/runtime/CORE.setting.moarvm:throw:4294967295) > from src/gen/m-CORE.setting:17505 >

[perl #122346] [@LARRY] "nom regression" behavior of lexicals/invoking sub before they are defined changed

2016-08-23 Thread Will Coleda via RT
On Sun Jul 20 10:33:13 2014, coke wrote: > S02-names-vars/variables-and-packages.t has several TODO'd tests of > this sort: > > { > nok foo().defined, "get variable not yet declared using a sub (1)"; > is foo(), 1, "get variable not yet declared using a sub (2)"; > is foo(), 2, "get

[perl #128485] "Weird node visited"

2016-08-23 Thread Will Coleda via RT
On Sun Jun 26 11:42:10 2016, raiph wrote: > What I did > == > > use experimental :macros; > macro m { quasi {} } > m > > What I got > == > > rakudo-moar e071e4: OUTPUT«Weird node visited: QAST::BVal␤» > > What I expected > === > > No output or Nil used in sink

[perl #126979] [BUG] Infinite loop on 'my @a[;];'

2016-08-19 Thread Will Coleda via RT
On Fri Aug 19 10:54:53 2016, coke wrote: > On Mon Dec 21 06:11:11 2015, andrew.stan...@smoothwall.net wrote: > > Hi > > > > This statement causes an infinite loop in REPL > > my @a[;]; > > > > This is Rakudo version 2015.11-706-g8622b90 built on MoarVM version > > 2015.11-113-gbd56e2e > >

[perl #102994] State variables are never initialized if the first call of the containing block does not reach them

2016-08-19 Thread Will Coleda via RT
On Sat Nov 05 09:12:36 2011, moritz wrote: > 16:28 < moritz> perl6: sub f($x) { return if $x == 1; state %h = a => 1; > say > %h.perl }; f 1; f 2; > 16:28 <+p6eval> niecza v11-20-gb962c2f: OUTPUT«{"a" => 1}.hash␤» > 16:28 <+p6eval> ..pugs b927740: OUTPUT«{("a" => 1),}␤» > 16:28

[perl #126979] [BUG] Infinite loop on 'my @a[;];'

2016-08-19 Thread Will Coleda via RT
On Mon Dec 21 06:11:11 2015, andrew.stan...@smoothwall.net wrote: > Hi > > This statement causes an infinite loop in REPL > my @a[;]; > > This is Rakudo version 2015.11-706-g8622b90 built on MoarVM version > 2015.11-113-gbd56e2e > implementing Perl 6.b. > > Running on Debian8. > > Also

[perl #125628] x and xx operators are too different

2016-08-19 Thread Will Coleda via RT
On Sat Jul 18 09:58:45 2015, elizabeth wrote: > Fixed the “a” x Inf case with 059dac9f0be8c563f1a, tests needed > > Did *not* fix the “a” x *, as per discussion at: > http://irclog.perlgeek.de/perl6/2015-07-18#i_10918034 > > > On 16 Jul 2015, at 12:59, Alex Jakimenko (via RT) >

[perl #124219] [BUG] Potential missing error text

2016-08-19 Thread Will Coleda via RT
On Tue Mar 31 12:50:50 2015, drf...@pobox.com wrote: > OS: Ubuntu Linux 14.04 LTS in VirtualBox > Host: Windows 8 > Rakudo version: git pull from 25/3/2015 > > Issue 1: Are we missing the line: > > --> token TOP { ⏏ % \n } > > in the error message? > > Issue 2: Should the quantifier be

[perl #118407] Importing sub using require causes Null PMC access

2016-08-17 Thread Will Coleda via RT
On Mon Jun 10 00:32:33 2013, dagurval wrote: > > say slurp("/tmp/a.pm6") > sub abc() is export { say "hello" } > > This works (given that it's NYI) > > require("/tmp/a.pm6") ""; > abc(); > Trying to import symbols from '/tmp/a.pm6', but it does not export > anything > > Without the ampersand

[perl #127108] [PRECOMP] Inexplicable failure of grammar post-CURI branch

2016-08-17 Thread Will Coleda via RT
On Tue Jan 19 11:20:59 2016, coke wrote: > On Tue Jan 19 10:12:08 2016, coke wrote: > > On Mon Jan 04 11:53:44 2016, coke wrote: > > > On Thu Dec 31 05:04:23 2015, lue wrote: > > > > There's unfortunately no real diagnostic I can provide for the > > > > error > > > > specifically, since the result

[perl #128947] [BUG] Pair.WHICH confused by "|"s

2016-08-15 Thread Will Coleda via RT
Closing as a duplicate of the referenced tickets. -- Will "Coke" Coleda

[perl #120443] error message is not compete

2016-08-11 Thread Will Coleda via RT
On Sun Jul 12 15:10:34 2015, equinox wrote: > On 7/9/2015 8:30 PM, Will Coleda via RT wrote: > > On Sat Nov 02 10:31:21 2013, equinox wrote: > >> C:\rakudo\bin>perl6 -I D:\m\p6\perl6grammer\nqp\src -I > >> D:\m\p6\perl6grammer D:\m\p6\perl6grammer\Perl6\Gramm

[perl #126477] [glr] .assuming on sub with is copy parameter fails

2016-08-11 Thread Will Coleda via RT
On Wed Oct 28 13:40:45 2015, gfldex wrote: > sub foo(@a is copy, :$flag){ say @a }; > my @a = 1,2; > ((:flag))(@a); > > # OUTPUT«replace this Array is copy logic␤ in sub __PRIMED_ANON at > EVAL_2:2␤ in sub __PRIMED_ANON at > EVAL_2:1␤ in block at /tmp/TlcJQPUFbc:1␤ Coming from:

[perl #116186] [GLR] Complex Recursive Sequences

2016-08-11 Thread Will Coleda via RT
On Sun Dec 23 16:28:31 2012, TimTom wrote: > > Rakudo Version: 2012.12-38-gc8de2eb > > > Story: > > > I was attempting to write a different solution to the Collatz Sequence > problem in this years Advent Calendar. I figured it was a sequence of > numbers, the sequence operation should be

[perl #122174] [BUG] Debugger crash!

2016-08-09 Thread Will Coleda via RT
On Wed Jul 27 10:44:19 2016, coke wrote: > On Tue Jun 24 05:34:19 2014, andynpar...@googlemail.com wrote: > > Hello! > > > > I am running a syntactically correct program, but the debugger fails > > giving a large call stack output; see attached. > > > > The Perl6 version

[perl #121940] [@LARRY] say True but False # should be 'True' (advent2010-day19)

2016-08-09 Thread Will Coleda via RT
On Wed May 21 13:36:58 2014, david.warring wrote: > [08:09] r: my $value = True but False; say $value > [08:09] <+camelia> rakudo-jvm 196b4f: OUTPUT«(timeout)» > [08:09] <+camelia> ..rakudo-{parrot,moar} 196b4f: OUTPUT«False␤» > ... > [08:10] rakudo-jvm is all "WARNING. PARADOX. MUST OVERHEAT."

[perl #126818] [PRECOMP] on "is cached" subs: getlex: outer index out of range

2016-08-09 Thread Will Coleda via RT
On Mon Jan 18 21:22:44 2016, lloyd.fo...@gmail.com wrote: > This bug just hit me :\. It should go away with 'no precompilation'. > > I believe it's closely related to: > > https://rt.perl.org/Public/Bug/Display.html?id=125634 > > On Tue, Dec 8, 2015 at 2:43 AM Zoffix Znet

[perl #128830] [LTA] Error on while (0){}

2016-08-03 Thread Will Coleda via RT
Re-opening, marking testneeded. -- Will "Coke" Coleda

[perl #128766] Useless use of $a in sink context is spurious

2016-07-29 Thread Will Coleda via RT
Re-opening, marking testneeded. -- Will "Coke" Coleda

[perl #128749] [RT] Emails sent to perl6-bugs-follo...@perl.org do not replicate on RT ticket

2016-07-28 Thread Will Coleda via RT
On Thu Jul 28 03:07:13 2016, lloyd.fo...@gmail.com wrote: > It seems like someone has just done some cleaning of this spam queue > because responses I sent to > https://rt.perl.org/Public/Bug/Display.html?id=128553 a couple of weeks ago > just came through. There was a subtle race condition in

[perl #124998] Type of $¢ is Any instead of Cursor

2016-07-27 Thread Will Coleda via RT
Here's the test: my $c; ok 'abc' ~~ /.{ $c = $¢ }/, 'current match state'; #?rakudo todo 'Type of $¢ is Any instead of Cursor - RT #124998' is $c.WHAT, Cursor.WHAT,'got right type'; This might be a faulty test, however: 19:28 < [Coke]> m: my $c; 'abc' ~~ /.{ say $¢.WHAT }/ ; 19:28 <

[perl #124788] Roast rakudo skip/todo test:./S32-io/mkdir_rmdir.t line:12 reason: mkdir rmdir [NYI]

2016-07-27 Thread Will Coleda via RT
There are many skipped tests for this in S32-io/mkdir_rmdir.t which can be safely unfudged (probably not all, though) -- Will "Coke" Coleda

[perl #125071] Roast rakudo skip/todo test:./S15-unicode-information/uniname.t line:44 reason: :either and :one NYI

2016-07-27 Thread Will Coleda via RT
This ticket duplicates the individual :one & :either tickets, rejecting. -- Will "Coke" Coleda

[perl #126664] .roll on a Range of Num ain't random

2016-07-27 Thread Will Coleda via RT
On Fri Nov 27 09:22:20 2015, elizabeth wrote: > So implemented with 61ea661d8dfc04acabf1eb46c > > > Liz > > > On 27 Nov 2015, at 17:17, Patrick R. Michaud > > wrote: > > > > The standard meaning of ".roll" is to randomly select elements > > from a list. So I'd expect

[perl #123434] [SEGV] CounterMutexSingleton sample crashes

2016-07-27 Thread Will Coleda via RT
On Fri Oct 30 06:54:00 2015, coke wrote: > On Mon Dec 15 03:50:26 2014, r...@bastic.net wrote: > > Hi, > > > > please see github.com/rbastic/CounterMutexSingleton > > > > This code crashes consistently on the latest MoarVM on Mac OS X > > 10.9.5 > > > > It does not crash with the JVM. > > > >

[perl #122839] Rakudo* 2014:08 panda doesn't see bundled modules

2016-07-27 Thread Will Coleda via RT
On Sun Feb 08 04:52:40 2015, pmqs wrote: > Issue is still present in star 2015.01 Many changes in panda and rakudo since then; can you test this with the latest rakudo star from 2016.07? (resend to hit email list) -- Will "Coke" Coleda

[perl #122839] Rakudo* 2014:08 panda doesn't see bundled modules

2016-07-27 Thread Will Coleda via RT
On Sun Feb 08 04:52:40 2015, pmqs wrote: > Issue is still present in star 2015.01 Many changes in panda and rakudo since then; can you test this with the latest rakudo star from 2016.07? (resend to hit email list) -- Will "Coke" Coleda

[perl #122839] Rakudo* 2014:08 panda doesn't see bundled modules

2016-07-27 Thread Will Coleda via RT
On Sun Feb 08 04:52:40 2015, pmqs wrote: > Issue is still present in star 2015.01 Many changes in panda and rakudo since then; can you test this with the latest rakudo star from 2016.07? -- Will "Coke" Coleda

[perl #125501] rakudo moar does not compile on Windows using latest git

2016-07-27 Thread Will Coleda via RT
On Wed Jul 27 06:06:00 2016, coke wrote: > Normally when I find an old ticket that says "doesn't build", I'm able > to close it out, but not today! > > I installed the latest Strawberry Perl 5.24.0.1 (64bit), and used the > git bash shell to checkout a copy of rakudo (using the https protocol >

[perl #122174] Debugger crash!

2016-07-27 Thread Will Coleda via RT
On Tue Jun 24 05:34:19 2014, andynpar...@googlemail.com wrote: > Hello! > > I am running a syntactically correct program, but the debugger fails > giving a large call stack output; see attached. > > The Perl6 version is:rakudo-star-2014.04/install/bin/perl6-debug-p > > > Andrew Parker > >

[perl #121117] Dispatch weirdness in REPL

2016-07-27 Thread Will Coleda via RT
On Thu Jan 30 07:15:52 2014, pmichaud wrote: > On Wed, Jan 29, 2014 at 06:14:38PM -0800, Mark E. Shoulson wrote: > > Consider: > > > > multi sub f1(Any $x) { "Any $x" } > > multi sub f2(Any $x) { f1($x) } > > multi sub f1(Rat $x) { "Rat $x" } > > > > say f2("a"); > > say f2(1.9); > > say f1(1.9);

[perl #127913] Different implementation of nqp::index for Moar and [JVM] (negative startposition)

2016-07-27 Thread Will Coleda via RT
On Sun Apr 17 12:51:27 2016, barto...@gmx.de wrote: > Sorry, I got a bit confused: > > The different behavior for routines index and rindex with negative > startposition between rakudo-moar and rakudo-jvm was fixed (see > https://rt.perl.org/Ticket/Display.html?id=126700). > > What's still

  1   2   3   4   5   6   7   8   9   10   >