[perl #126891] [BUG] module objects badly behaved for type checks

2015-12-12 Thread via RT
# New Ticket Created by Zefram # Please include the string: [perl #126891] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=126891 > > my Int $a = CORE > $a.WHAT.say (CORE) > CORE.^isa(Int) Cannot call isa(Perl6::Metamodel::Modu

[perl #126890] [BUG] pair with Nil key deparses incorrectly

2015-12-12 Thread via RT
# New Ticket Created by Zefram # Please include the string: [perl #126890] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=126890 > $ perl6 -e '((Nil)=>1).key.WHAT.say; ((Nil)=>1).perl.EVAL.key.WHAT.say' Nil (Str) The problem

[perl #126889] [BUG] $init-time-num breaks introspection

2015-12-12 Thread via RT
# New Ticket Created by Zefram # Please include the string: [perl #126889] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=126889 > $ perl6 -e 'say $init-time-num; say CORE::<$init-time-num>' 1449983501.60682 Lexical with name

[perl #126888] [BUG] list binding hangs

2015-12-12 Thread via RT
# New Ticket Created by Zefram # Please include the string: [perl #126888] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=126888 > $ perl6 -e '(1,2)[0] := 3' [hangs] ^C The attempted operation is not valid, because list struc

Re: [perl #126883] LTA error message mentions parameter "$slip" (1.map: { Slip })

2015-12-12 Thread Lloyd Fournier
test: https://github.com/perl6/roast/commit/c205f71781a29a456349a791fdf912d6955fe50f On Sat, Dec 12, 2015 at 8:13 PM Elizabeth Mattijsen wrote: > Fixed with 502b886e8d14dbd51b5 , needs tests > > $ 6 'say 1.map: { Slip }' > ((Slip)) > > > > On 12 Dec 2015, at 03:30, Alex Jakimenko (via RT) < > pe

Re: [perl #126447] [BUG] temp %*ENV bug

2015-12-12 Thread Lloyd Fournier
tests for the general case of { temp %hash = 42 } restoring non-existence after temp exit: https://github.com/perl6/roast/commit/9977e560ffddf6c47e621610dfbb384d3c20aa56 On Sat, Dec 12, 2015 at 9:07 PM Lloyd Fournier wrote: > I managed to golf this a bit: > > perl6 -e '{ temp %*ENV = "1" }; say

[perl #126887] Use of uninitialized value %ENV of type Any in string context

2015-12-12 Thread via RT
# New Ticket Created by Lloyd Fournier # Please include the string: [perl #126887] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=126887 > This happens a lot at the moment. The issue has been around pre-curli but I think preco

[perl #126606] [BUG] Can't call .WHICH on Iteratable or Iterator due to accidental punning

2015-12-12 Thread jn...@jnthn.net via RT
On Mon Nov 09 22:21:58 2015, larry wrote: > 21:25 < TimToady> m: say Iterable === Any > 21:25 <+camelia> rakudo-moar 2ad739: OUTPUT«Method 'iterator' must be > implemented by Iterable because it is required by a role␤ in any > compose_method_table at gen/moar/m-Metamodel.nqp:2661␤

[perl #123808] [BUG] qqw{} and qqww{} flattening behaviour doesn't match

2015-12-12 Thread jn...@jnthn.net via RT
On Tue Nov 17 12:23:28 2015, coke wrote: > Current situation: > > 15:20 < jnthn> m: my $a = 42; say <<$a b c>>; > 15:20 <+camelia> rakudo-moar 7c6a55: OUTPUT«(42 b c)␤» > 15:21 < jnthn> m: my $a = 42; say qqww{$a b c}; > 15:21 <+camelia> rakudo-moar 7c6a55: OUTPUT«(42 b c)␤» > 15:21 < jnthn> m: my

[perl #126507] [BUG] %h{Any} doesn't behave as expected

2015-12-12 Thread jn...@jnthn.net via RT
On Fri Oct 30 19:08:56 2015, zengargo...@gmail.com wrote: > Tests at: > https://gist.github.com/zengargoyle/5ba20a3c5799327b44d0 > > my %h{Any}; > my $i = (1,2,3); > %h{$i} = 'foo'; > %h{$i}:exists # (False, False, False) > %h.EXISTS-KEY($i) # True > > :exists causes $I to slice. Turns out othe

Re: [perl #126878] AutoReply: [BUG] no precompilation doesn't work with prcompilation

2015-12-12 Thread Lloyd Fournier
nine++ fixed this with https://github.com/rakudo/rakudo/commit/bdc37fb810fbe859dfeadf4f19dbfa92c3006f45 On Fri, Dec 11, 2015 at 7:41 PM perl6 via RT wrote: > Greetings, > > This message has been automatically generated in response to the > creation of a trouble ticket regarding: > "[BUG]

[perl #126708] Grammar.parse does not ignore unknown named args

2015-12-12 Thread jn...@jnthn.net via RT
On Sun Nov 22 10:58:57 2015, b...@abrij.org wrote: > > This is a regression since star09 which make Grammar more tedious to > subclass. > > (01:52:42 PM) skids: m: grammar foo { rule TOP { . } }; > foo.parse("foo",:subclass_arg_to_ignore) > (01:53:02 PM) camelia: rakudo-moar : OUTPUT«Unexpected

[perl #125009] Roast rakudo skip/todo test:./S12-introspection/roles.t line:36 reason: '.^roles(:tree)'

2015-12-12 Thread Christian Bartolomaeus via RT
The tests in question were removed with commit https://github.com/perl6/roast/commit/61758a2278 I'm closing this ticket as 'rejected'.

Re: [perl #126587] AutoReply: [BUG] require inside thread segfault hang

2015-12-12 Thread Lloyd Fournier
#1 require inside thread now gives: perl6 -e 'Thread.start({ say "entering"; require Linenoise; say "leaving" })' entering Unhandled exception: This type does not support associative operations at :1 (/Users/llfourn/.rakudobrew/moar-nom/install/share/perl6/runtime/CORE.setting.moarvm::4294967

[perl #126631] Stub code or “fail” exits silently

2015-12-12 Thread jn...@jnthn.net via RT
On Fri Nov 13 09:53:04 2015, alex.jakime...@gmail.com wrote: > Code: > fail; say 'hello' > > Or this code: > …; say 'hello' > > Result: > no output > > > Which was noticed when I did this accidentally: > my @a = 1, 2 …… *; say 'hello'; > > > shouldn't be throwing that away > > Yeah, perhaps

[perl #126581] [BUG] cannot call multis in the same class with .*

2015-12-12 Thread jn...@jnthn.net via RT
On Fri Nov 06 15:10:05 2015, rayd...@cyberuniverses.com wrote: > calling multis in the same class with .* doesn't work: > 22:10 raydiak m: class C { multi method m () { "A" }; multi method m > () { "B" } }; C.*m > 22:10 camelia rakudo-moar 5fda5d: OUTPUT«Ambiguous call to 'm'; > these signature

[perl #126535] [BUG] - FIRST phaser not firing in while loop

2015-12-12 Thread jn...@jnthn.net via RT
On Sun Nov 01 17:37:23 2015, zengargo...@gmail.com wrote: > No gist for this, simple: > > 17:29 < zengargoyle> m: my $x = True; while $x { FIRST { say "first" > }; LAST { say "last" }; $x = False; } > 17:29 <+camelia> rakudo-moar 1051fc: OUTPUT«last␤» > > FIRST phaser does not fire in a while loo

[perl #126454] [BUG] Channel: earliest $channel { ... } does not go away at end of scope

2015-12-12 Thread jn...@jnthn.net via RT
On Sun Oct 25 17:25:56 2015, zengargo...@gmail.com wrote: > This is perl6 version 2015.10-16-g2f4bfd8 built on MoarVM version > 2015.10 > > https://gist.github.com/zengargoyle/5324c93684d6f5a376a3 > > for 1,1,2,2 -> $num, $value { >... stuff ... > loop { > earliest $channel { > more * {

[perl #126379] Giving Supply.tap a block with the wrong signature silently fails

2015-12-12 Thread jn...@jnthn.net via RT
On Sat Oct 17 06:05:10 2015, r...@hoelz.ro wrote: > Possibly related to #125782. > > If you run this code: > > Supply.interval(1).tap(-> { say 'hi' }); > sleep 5; > > ...you get no input, because the block provided to tap is argless. > The signature verification failure is silently swallowed. F

Re: [perl #126880] AutoReply: [BUG] no precompilation with compile time warning dies painfully

2015-12-12 Thread Lloyd Fournier
The "Use of uninitialized value %ENV of type Any in string context" is a separate bug similar to: https://rt.perl.org/Public/Bug/Display.html?id=126447 It happens because with "no precompilation" the value of ENV disappears in a similar way to that RT. Then when %*ENV is cloned the lack of a valu

Re: [perl #126447] [BUG] temp %*ENV bug

2015-12-12 Thread Lloyd Fournier
I managed to golf this a bit: perl6 -e '{ temp %*ENV = "1" }; say %*ENV:exists # True That should be False IMO. The value at isn't 1, looks like Any from p6, but I think at a lower level it's holding something nasty that trips up nqp. But this warning is not just caused by this example it's all

Re: [perl #126883] LTA error message mentions parameter “$slip” (1.map: { Slip })

2015-12-12 Thread Elizabeth Mattijsen
Fixed with 502b886e8d14dbd51b5 , needs tests $ 6 'say 1.map: { Slip }' ((Slip)) > On 12 Dec 2015, at 03:30, Alex Jakimenko (via RT) > wrote: > > # New Ticket Created by Alex Jakimenko > # Please include the string: [perl #126883] > # in the subject line of all future correspondence about t