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

2015-12-13 Thread Elizabeth Mattijsen
> On 13 Dec 2015, at 05:15, Zefram (via RT) > wrote: > > # 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 >

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

2015-12-13 Thread Timo Paulssen
I think you might have misread the bug report. This bug is about the .perl method on Pair not being careful enough if the .perl of its .key looks like //. I am reluctant to add a full ~~ // to the .perl, as matching carries quite a big overhead at the moment and that'd make printing a list of

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

2015-12-13 Thread Elizabeth Mattijsen
> On 13 Dec 2015, at 05:18, Zefram (via RT) > wrote: > > # 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 >

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

2015-12-13 Thread Elizabeth Mattijsen
> On 13 Dec 2015, at 10:44, Elizabeth Mattijsen wrote: >> On 13 Dec 2015, at 05:15, Zefram (via RT) >> wrote: >> >> # New Ticket Created by Zefram >> # Please include the string: [perl #126889] >> # in the subject line of all future

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

2015-12-13 Thread Elizabeth Mattijsen
Zefram, > On 13 Dec 2015, at 05:56, Zefram (via RT) > wrote: > > # New Ticket Created by Zefram > # Please include the string: [perl #126891] > # in the subject line of all future correspondence about this issue. > #

Re: [perl #126900] [BUG] assignment to native-typed variable fails in repl

2015-12-13 Thread Lloyd Fournier
You can gold this down to: perl6 -e 'my int $a = 3; EVAL q|$a = 4|' #!>Cannot find method 'qast' On Mon, Dec 14, 2015 at 7:26 AM Zefram wrote: > # New Ticket Created by Zefram > # Please include the string: [perl #126900] > # in the subject line of all future

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

2015-12-13 Thread Elizabeth Mattijsen
Completely right! 5b6cbc7d54ce5ad252cf74 fixes Pair.perl properly. Liz > On 13 Dec 2015, at 11:16, Timo Paulssen wrote: > > I think you might have misread the bug report. > > This bug is about the .perl method on Pair not being careful enough if > the .perl of its .key

[perl #126893] 'use' named arg munging is evil

2015-12-13 Thread via RT
# New Ticket Created by Lloyd Fournier # Please include the string: [perl #126893] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=126893 > perl6 -e 'use Test do { Date.new(year => 2015); ()}' ===SORRY!=== Default constructor

[perl #126799] Reversing, rotating, sorting fixed-dimension arrays

2015-12-13 Thread jn...@jnthn.net via RT
On Thu Dec 03 18:14:29 2015, alex.jakime...@gmail.com wrote: > Code: > my @a[3]; say @a.reverse > > Result: > Cannot reverse a fixed-dimension array > in block at -e:1 > > > It may be more complicated for multi-dimensional arrays, but reversing a > 1-dimensional is rather straightforward.

[perl #126728] Match using the wrong class

2015-12-13 Thread jn...@jnthn.net via RT
On Wed Nov 25 02:47:48 2015, mt1...@gmail.com wrote: > Following code generates 'P6opaque: must compose before allocating'. > > package P { >class Regex { > has Int $.n; > submethod BUILD ( Str :$n ) { >die 'Not that one!!!' if $n ~~ m/^ '666' $/; >$!n = $n.Int; >

[perl #126424] Iterators that don't use pull-one, lose containers

2015-12-13 Thread jn...@jnthn.net via RT
On Wed Oct 21 15:40:57 2015, elizabeth wrote: > # this internally uses .push-at-least > $ 6 'my $l = gather { take-rw my $ = 1 }; $l.AT-POS(0) = 42' > Cannot modify an immutable Int > in block at -e:1 > > # this internally uses .pull-one > $ 6 'my $l = gather { take-rw my $ = 1 }; for @$l { $_

[perl #126897] [BUG] Slip objects deparse as List

2015-12-13 Thread via RT
# New Ticket Created by Zefram # Please include the string: [perl #126897] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=126897 > $ perl6 -e 'slip(2,3).WHAT.say; slip(2,3).perl.EVAL.WHAT.say' (Slip) (List) The .perl method

[perl #122134] [jvm] for 1 { last; ENTER { say "hurz" } } leaks an UnwindException

2015-12-13 Thread Christian Bartolomaeus via RT
This works now as expected: $ perl6-j -e 'for 1 { last; ENTER { say "hurz" } }' hurz I added a test to S04-phasers/in-loop.t (and unfudged the skipped tests there) with commit https://github.com/perl6/roast/commit/da7ff73062 I'm closing this ticket as 'resolved'.

[perl #126895] Cannot constrain an optional parameter with a subset type

2015-12-13 Thread via RT
# New Ticket Created by Sam S. # Please include the string: [perl #126895] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=126895 > Using a subset type as a type constraint for an optional routine parameter, throws an error

[perl #126899] [JVM] failing tests in S03-metaops/reduce.t: Method 'orig' not found for invocant of class 'QAST::Op'

2015-12-13 Thread via RT
# New Ticket Created by Christian Bartolomaeus # Please include the string: [perl #126899] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=126899 > There are quite a few tests in S03-metaops/reduce.t which fail on rakudo.jvm

[perl #126903] [BUG] slip()'s flavour of slurpiness

2015-12-13 Thread via RT
# New Ticket Created by Zefram # Please include the string: [perl #126903] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=126903 > doc/doc/Type/Slip.pod says: =head2 sub slip sub slip(*@) returns Slip:D

Re: [perl #126728] Match using the wrong class

2015-12-13 Thread Parrot Raiser
"This means that extensibility is still possible, but now requires the writing of a custom setting, which seems a fair burden to place on language extenders for the sake of everyone else." That seems like a very reasonable policy; make life as convenient as possible for the majority, but let the

[perl #126901] [BUG] native value type checks give bad results

2015-12-13 Thread via RT
# New Ticket Created by Zefram # Please include the string: [perl #126901] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=126901 > $ perl6 -e 'my int $i = 3; say $i.^isa(int)' 0 The value read directly out of an int-typed

Re: [perl #126897] [BUG] Slip objects deparse as List

2015-12-13 Thread Elizabeth Mattijsen
> On 13 Dec 2015, at 20:53, Zefram (via RT) > wrote: > > # New Ticket Created by Zefram > # Please include the string: [perl #126897] > # in the subject line of all future correspondence about this issue. > # https://rt.perl.org/Ticket/Display.html?id=126897 >

[perl #126900] [BUG] assignment to native-typed variable fails in repl

2015-12-13 Thread via RT
# New Ticket Created by Zefram # Please include the string: [perl #126900] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=126900 > At the REPL top level, post-init assignment to a native-typed variable fails: > my int $a = 3

[perl #126902] [BUG] some singleton Slips deparse incorrectly

2015-12-13 Thread via RT
# New Ticket Created by Zefram # Please include the string: [perl #126902] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=126902 > The fix for [perl #126897] assumes that a slip(...) constructor expression parses equivalently

[perl #126905] [BUG] deparsing is surprised by slip interpolation

2015-12-13 Thread via RT
# New Ticket Created by Zefram # Please include the string: [perl #126905] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=126905 > With [perl #126897] fixed, deparsing of some kinds of structure containing Slip objects now

[perl #126907] [DOC] 5to6-perlfunc wrong on some $_ defaults

2015-12-13 Thread via RT
# New Ticket Created by Zefram # Please include the string: [perl #126907] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=126907 > 5to6-perlfunc says: =item mkdir FILENAME =item mkdir Works as in Perl 5.

[perl #126904] [BUG] curli related precomp work broke URI2

2015-12-13 Thread via RT
# New Ticket Created by Justin DeVuyst # Please include the string: [perl #126904] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=126904 > [jdv@wieldy p6-uri2]$ perl6 -Ilib t/01-basic.t ===SORRY!=== Type

[perl #126906] [BUG] defined value as type constraint has inconsistent behaviour

2015-12-13 Thread via RT
# New Ticket Created by Zefram # Please include the string: [perl #126906] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=126906 > If a defined value is used as a type constraint, the values that the constraint will accept

[perl #126908] More Than Ugly stacktraces due to precompilation (hashes instead of filenames)

2015-12-13 Thread via RT
# New Ticket Created by Alex Jakimenko # Please include the string: [perl #126908] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=126908 > This problem is well known, but maybe this bug report will help to coordinate efforts.

[perl #126909] [BUG] no-args function call broken for some names

2015-12-13 Thread via RT
# New Ticket Created by Zefram # Please include the string: [perl #126909] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=126909 > Normally a sub that accepts an empty argument list can be called with or without parens: >