[perl #77070] [BUG] .perl on Attribute does not work with LTA error message

2014-01-14 Thread Will Coleda via RT
On Thu Nov 15 20:41:24 2012, coke wrote: > On Sat Aug 07 04:40:57 2010, lithos wrote: > > Hi! > > > > Calling .perl on an Attribute gives me a confusing error message: > > > > Method 'attributes' not found for invocant of class '' > > in 'Mu::attribs' at line 1198:CORE.setting > > in 'Mu::per

[perl #115184] Segmentation Fault on 'try { CATCH { ~$! }; die }'

2014-01-14 Thread Will Coleda via RT
On Wed Nov 13 19:15:34 2013, coke wrote: > On Mon Oct 08 13:45:22 2012, pawel.pab...@implix.com wrote: > > rakudo: try { CATCH { ~$! }; die } # shortest form that > > segfaults on my machine > > rakudo 870d18: OUTPUT«(signal SEGV)» > > rakudo: say $*PERL > > rakudo 870d18: OUTPUT«("name" => "ra

[perl #110064] [BUG] Can't assign the returned list of values from .^methods to an array in Rakudo

2014-01-14 Thread Will Coleda via RT
On Sun Jun 09 07:42:00 2013, jn...@jnthn.net wrote: > On Tue Feb 07 05:52:02 2012, masak wrote: > > nom: my @methods = { say "hello" }.^methods > > nom 8c84b8: OUTPUT�Cannot assign a non-Perl 6 value to a > Perl > > 6 container [...] > > hm, that's a bug, I think. > > Needs fixing in the BOOTS

[perl #112788] [BUG] Strange internal error when a Rat is raised to a very large power in Rakudo

2014-01-14 Thread Will Coleda via RT
On Wed May 29 19:36:59 2013, coke wrote: > On Sat Nov 17 15:36:41 2012, coke wrote: > > On Sun May 06 09:53:31 2012, masak wrote: > > > r: say 1.001 ** (10 ** 9) > > > rakudo d9fd17: OUTPUT«Nominal type check failed for > > > parameter > > > '$nu'; expected Int but got Num instead␤ in sub DI

[perl #117045] [BUG] Guillemet form of subscript parses as infix hyperop in Rakudo

2014-01-14 Thread Will Coleda via RT
On Fri Mar 08 06:06:54 2013, jn...@jnthn.net wrote: > On Mon Mar 04 11:57:36 2013, masak wrote: > > r: .say for (1, 2, 3) <<~>> "!"; .say for (1, 2, 3) «~» "!"; > > .say for (1, 2, 3)«~»"!" > > rakudo 87ad7c: OUTPUT«1!␤2!␤3!␤1!␤2!␤3!␤1!␤2!␤3!␤» > > r: .say for (1, 2, 3)<<~>>"!" > > rakudo 87ad7

[perl #117163] [BUG] Infinite regress when 'also is' on own class in Rakudo

2014-01-14 Thread Will Coleda via RT
On Sun Jun 09 08:39:19 2013, jn...@jnthn.net wrote: > On Thu Mar 14 13:31:32 2013, masak wrote: > > r: class F { also is F; } > > rakudo 1c9939: OUTPUT�maximum recursion depth exceeded > > * masak submits rakudobug for 'also is' > > Now: > > $ perl6 -e "class F { also is F; }" > ===SORRY!=== >

[perl #116521] [BUG] 'state' with anonymous scalars works more like 'my' in Rakudo

2014-01-14 Thread Will Coleda via RT
On Mon May 20 00:30:04 2013, labster wrote: > On Mon May 20 00:28:53 2013, labster wrote: > > Added file S02-names/bare-sigil.t to roast, which tests for this > > behavior. Everything passes as I expect. > > > > Resolving ticket. > > Or, well, not resolving... why does RT give you options you ca

[perl #84266] [BUG] Importing a module with a MAIN sub causes Rakudo to die inappropriately

2014-01-14 Thread Will Coleda via RT
On Tue Jan 14 13:43:50 2014, coke wrote: > On Wed Feb 16 15:14:08 2011, masak wrote: > > $ cat A.pm > > use v6; > > sub MAIN { > > } > > > > $ cat foo > > use v6; > > use A; > > > > $ perl6 foo > > Method 'chars' not found for invocant of class 'Failure' > > in 'Cool::substr' at line 2394:CORE.

[perl #116547] [BUG] Internal failure in Levenshtein distance calculator in Rakudo

2014-01-14 Thread Will Coleda via RT
On Wed Jan 30 12:32:36 2013, jn...@jnthn.net wrote: > On Fri Jan 25 14:16:29 2013, masak wrote: > > r: my ($abe, $ba, $abc); $abd > > rakudo 6b0cea: OUTPUT«===SORRY!===␤elements() not implemented > > in class 'Array'␤» > > wtf > > :) > > r: $abd > > rakudo 6b0cea: OUTPUT«===SORRY!===␤Variab

[perl #120753] Singletons ignored in regex character classes

2014-01-14 Thread Will Coleda via RT
On Tue Dec 10 17:12:55 2013, m...@kli.org wrote: > When singletons are used alongside ranges in character classes in > regexes, the > singletons seem to be ignored: > > "Z" ~~ /<[A..MZ]>/ returns Nil; it should match. It does not matter if > the > range is first or second, and "Z"~~/<[A..M Z..Z]>/

[perl #115284] [BUG] Rakudo dies while compiling 'say (;:[])'

2014-01-14 Thread Will Coleda via RT
On Mon Oct 15 15:20:29 2012, jn...@jnthn.net wrote: > On Mon Oct 15 07:28:27 2012, masak wrote: > > r: say (;:[]) > > rakudo 8a07b8: OUTPUT«===SORRY!===␤Error while compiling > > block : Error while compiling op call: Error while compiling block : > > Error while compiling op call: Can only use g

[perl #118075] [BUG] $, in list interpreted as '$,' variable rather than bare sigil $ + comma

2014-01-14 Thread Will Coleda via RT
On Thu May 23 14:54:13 2013, labster wrote: > Well, almost fixed. The spec says: > > Attempts to say something like: > > ($a, $, $c) = 1..3; > > will result in the message, "Anonymous variable requires declarator". > > It results in the message: > > Non-declarative sigil is missing its name >

[perl #113552] duplicate rule/token names break grammar parsing

2014-01-14 Thread Will Coleda via RT
On Mon Jun 11 12:47:49 2012, jn...@jnthn.net wrote: > On Thu Jun 07 22:49:12 2012, diakopter.gmail.com wrote: > > 00:28 < diakopter> r: grammar A { token a { }; token a { } } > > 00:28 <+p6eval> rakudo 6ab416: OUTPUT«===SORRY!===␤Method 'match' not > > found for > > invocant of clas

Re: [perl #120993] Strange behavior matching junctions with Number strings

2014-01-14 Thread Timo Paulssen
Actually, using ~~ here transforms the junction into a string before attempting to match. Thus, no auto threading is taking place at all. I can't test it right now, but with .match it should work better. Or at least different. -- Sent from my Android phone with K-9 Mail. Please excuse my brevity

[perl #78202] [BUG] Rakudo treats ' #' after interpolated variable as whitespace (whereas STD.pm6 doesn't)

2014-01-14 Thread Will Coleda via RT
On Tue Nov 20 11:36:45 2012, FROGGS.de wrote: > looks good nowadays: > > rakudo: sub Good ($time) { say "Good $time #perl6." }; Good now > # discovered by tylercurtis > rakudo bf472b: OUTPUT«Good Instant:1353440186.178945 #perl6.␤» Test added in S02-literals/string-interpolation.t -- Will "Cok

[perl #77246] _~*.A parses in Rakudo but fails in STD

2014-01-14 Thread Will Coleda via RT
On Wed May 29 19:38:02 2013, coke wrote: > On Wed Nov 21 08:31:03 2012, FROGGS.de wrote: > > same like std now: > > > > rakudo: _~*.A > > rakudo bf472b: OUTPUT«===SORRY!===␤CHECK FAILED:␤Undefined > > routine '&_' called (line 1)␤» > > ... So, closable with tickets, thanks! For lack of a bett

[perl #84266] [BUG] Importing a module with a MAIN sub causes Rakudo to die inappropriately

2014-01-14 Thread Will Coleda via RT
On Wed Feb 16 15:14:08 2011, masak wrote: > $ cat A.pm > use v6; > sub MAIN { > } > > $ cat foo > use v6; > use A; > > $ perl6 foo > Method 'chars' not found for invocant of class 'Failure' > in 'Cool::substr' at line 2394:CORE.setting > in 'process-cmd-args' at line 7489:CORE.setting > in

[perl #78404] [BUG] Rakudo allows an empty regex declaration

2014-01-14 Thread Will Coleda via RT
On Sat Oct 16 11:33:21 2010, masak wrote: > rakudo: grammar G { regex foo { } }; say "alive" > rakudo 064702: OUTPUT«alive␤» > * masak submits rakudobug > std: grammar G { regex foo { } } > std 263c207: OUTPUT«===SORRY!===␤Null > pattern not allowed [...] FAILED 00:01 116m␤» >

[perl #120995] Same argument present multiple times is okay with one name, not with two

2014-01-14 Thread Mark E. Shoulson
# New Ticket Created by "Mark E. Shoulson" # Please include the string: [perl #120995] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=120995 > > sub f(:a(:b($x))) { say $x } sub f(Any :a(:b($x))) { ... } > f(:a("A"), :a("B"))

[perl #120992] Nil disappears in junction lists

2014-01-14 Thread Mark E. Shoulson
# New Ticket Created by "Mark E. Shoulson" # Please include the string: [perl #120992] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=120992 > > (all("a", "b") ~~ /a/).Bool True > all("a", "b") ~~ /a/ 「all("a", "b")」 > (all(

[perl #120993] Strange behavior matching junctions with Number strings

2014-01-14 Thread Mark E. Shoulson
# New Ticket Created by "Mark E. Shoulson" # Please include the string: [perl #120993] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=120993 > > any("4","5") ~~ /4/ 「any(Failure.new(exception => X::OutOfRange.new(what => "Sta

[perl #120994] Typed slurpy hashes aren't supported either

2014-01-14 Thread Mark E. Shoulson
# New Ticket Created by "Mark E. Shoulson" # Please include the string: [perl #120994] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=120994 > Rakudo explicitly fails with a message when someone tries to use a typed slurpy po

[perl #120996] REPL error: Dynamic variable declarations do not persist

2014-01-14 Thread Mark E. Shoulson
# New Ticket Created by "Mark E. Shoulson" # Please include the string: [perl #120996] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=120996 > This seems to happen only with the REPL: > my $*a; (Any) > $*a=10; Dynamic variab