Re: need string is not a a string is a string help

2020-05-26 Thread ToddAndMargo via perl6-users
On 2020-05-26 17:13, ToddAndMargo via perl6-users wrote: Hi All, What in the dickens  Only `say  %Options;` works, but only when it only has a single argument. 241: for split( "", %Options ) -> $y {say "$y = ", ord( $y ) }; 242: for %Options.comb -> $y {say "$y = ", ord( $y ) }; 243: say 

need string is not a a string is a string help

2020-05-26 Thread ToddAndMargo via perl6-users
Hi All, What in the dickens Only `say %Options;` works, but only when it only has a single argument. 241: for split( "", %Options ) -> $y {say "$y = ", ord( $y ) }; 242: for %Options.comb -> $y {say "$y = ", ord( $y ) }; 243: say %Options; 244: say ">" ~ %Options ~ "<"; 245: prin

[perl #125334] min(+'a', +'a').say prints Inf but should produce an error

2016-07-07 Thread Will Coleda via RT
On Mon Jun 08 12:02:55 2015, pmichaud wrote: > On Mon, Jun 08, 2015 at 06:08:33AM -0700, Will Coleda via RT wrote: > > I agree that this should be throwing the same conversion error. > > I disagree to the extent that making min() throw the conversion error seems > to go against the purpose of des

[perl #114464] Confusing parsing (and spec?) for my A $a .= new.foo

2015-10-08 Thread Larry Wall via RT
This works now, due to the precedence changes associated with adding the dot infix operator.

[perl6/specs] f709a0: a a to a

2015-06-12 Thread GitHub
-bits.pod Log Message: --- a a to a

Re: [perl #125334] min(+'a', +'a').say prints Inf but should produce an error

2015-06-08 Thread Patrick R. Michaud
On Mon, Jun 08, 2015 at 06:08:33AM -0700, Will Coleda via RT wrote: > I agree that this should be throwing the same conversion error. I disagree to the extent that making min() throw the conversion error seems to go against the purpose of designing soft/lazy Failure types into Perl 6 in the first

[perl #125334] min(+'a', +'a').say prints Inf but should produce an error

2015-06-08 Thread Will Coleda via RT
I agree that this should be throwing the same conversion error. Here's probably why it's giving Inf, though: $ perl6 > say min() Inf > say max() -Inf -- Will "Coke" Coleda

[perl #125334] min(+'a', +'a').say prints Inf but should produce an error

2015-06-05 Thread via RT
# New Ticket Created by Alex Jakimenko # Please include the string: [perl #125334] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=125334 > Code: min(+'a', +'a').say Result: Inf Normally such con

[perl #121622] my @a; @a[3] = 1; @a[]:k; # (advent-2013-day12.t) aborting on perl6-j

2014-12-29 Thread Will Coleda via RT
On Wed Apr 09 14:56:31 2014, david.warring wrote: > fudged for jvm in advent/2013-day12.t > > % my @a; @a[3] = 1; @a[]:k' > java.lang.NullPointerException > in method reify at gen/jvm/CORE.setting:7425 > in method reify at gen/jvm/CORE.setting:7402 > in method rei

[perl #121622] my @a; @a[3] = 1; @a[]:k; # aborting on perl6-j

2014-04-10 Thread via RT
# New Ticket Created by David Warring # Please include the string: [perl #121622] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=121622 > fudged for jvm in advent/2013-day12.t % my @a; @a[3] = 1; @a[

[perl #119369] [BUG] 'my %a{%a}' (declaring a hash with the hash itself in braces) doesn't parse in Rakudo (but does in STD.pm6)

2013-08-19 Thread Carl Mäsak
# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #119369] # in the subject line of all future correspondence about this issue. # https://rt.perl.org:443/rt3/Ticket/Display.html?id=119369 > rnp: my %a{%a} rakudo 13f2f9: OUTPUT«===SORRY!=== Error while c

[perl #115802] Error while compiling block when "a" ~~ /<[a]-[\n]>/

2012-11-20 Thread via RT
# New Ticket Created by Tobias Leich # Please include the string: [perl #115802] # in the subject line of all future correspondence about this issue. # https://rt.perl.org:443/rt3/Ticket/Display.html?id=115802 > r: say so "a" ~~ /<[a..c]-[\n]>/ rakudo 112307: OUTPUT

[perl #112202] enum A ; A.^methods gives "too many named arguments: 2 passed, 0 used"

2012-04-02 Thread via RT
any named arguments: 2 passed, 0 used␤ in any parents at src/gen/Metamodel.pm:681␤ in any methods at src/gen/Metamodel.pm:398␤ in method dispatch:<.^> at src/gen/CORE.setting:783␤ in block at /tmp/lNDeV59Rnc:1␤␤» 16:36 moritz: bbkr: looks like a regression 16:36 moritz: r: enum A ; A.^

[perl #75850] [BUG] > say %( \( (:a(2)) )).keys # a (:a(2)) should ends up as a positionnal

2012-01-10 Thread Will Coleda via RT
On Fri Jun 18 01:26:55 2010, cognominal wrote: > > say%( \( (:a(2)) )).keys > a > > (:a(2)) should ends up as a positionnal > Update: 20:12 < [Coke]> rakudo: say %( \( (:a(2)) )).WHAT 20:12 <+p6eval> rakudo 38165a: OUTPUT«EnumMap()␤» 20:13 < [Coke]&

[perl #107122] [BUG] Can't assign to 'int @a', a compact array, in Rakudo

2011-12-27 Thread Carl Mäsak
# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #107122] # in the subject line of all future correspondence about this issue. # https://rt.perl.org:443/rt3/Ticket/Display.html?id=107122 > nom: my Int @a = 1, 2, 3; nom eb6c4b: ( no output ) nom: my int @a = 1, 2, 3;

[perl #75648] [BUG] [WEIRD] Internal parser error when parsing 'my ::&a &a' in Rakudo

2011-10-08 Thread Will Coleda via RT
On Wed Jun 09 14:47:30 2010, masak wrote: > rakudo: my ::&a &a > rakudo a54677: OUTPUT«===SORRY!===␤ResizablePMCArray: Can't > pop from an empty array!␤» > :D > * masak submits rakudobug > that's a parser compiler problem, I'd guess > that error

[perl #75850] [BUG] > say %( \( (:a(2)) )).keys # a (:a(2)) should ends up as a positionnal

2010-06-18 Thread via RT
# New Ticket Created by Stephane Payrard # Please include the string: [perl #75850] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=75850 > > say%( \( (:a(2)) )).keys a (:a(2)) should ends up as a posit

[perl #73908] Can't construct a colonpair with a a private attribute

2010-06-13 Thread jn...@jnthn.net via RT
On Tue Mar 30 03:38:25 2010, moritz wrote: > 12:35 <@moritz_> rakudo: class A { has $!g; method foo { self.bar(:$!g) } }; > 12:35 < p6eval> rakudo 534afd: OUTPUT«Symbol '$!g' not predeclared in > foo␤current instr.: 'perl6;PCT;HLLCompiler;panic' pc 152 > (compilers/p

[perl #75648] [BUG] [WEIRD] Internal parser error when parsing 'my ::&a &a' in Rakudo

2010-06-10 Thread Carl Mäsak
# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #75648] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=75648 > rakudo: my ::&a &a rakudo a54677: OUTPUT«===SORRY!===␤Resizab

[perl #74520] [BUG] LTA error message when calling a A::foo if &foo doesn't exist in A in Rakudo

2010-04-21 Thread jn...@jnthn.net via RT
On Tue Apr 20 04:50:38 2010, masak wrote: > masak: Your ticket is wrong. > 74520 > a bug in a rakudobug! > * masak looks > The bug is not that it didn't find the sub > It shoudln't > The bug is it gave an internals error rather than a good one. > I guess more succinct is: > rakudo: A::foo #

[perl #73908] Can't construct a colonpair with a a private attribute

2010-03-31 Thread via RT
# New Ticket Created by Moritz Lenz # Please include the string: [perl #73908] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=73908 > 12:35 <@moritz_> rakudo: class A { has $!g; method foo { self.bar(:$!g) } }; 12:35 < p6ev

Re: ^[[A^[[A

2010-03-10 Thread Moritz Lenz
Hi, Kiffin Gish wrote: > How can recall previous commands (history) using ./perl6 without getting > ^[[A^[[A instead? You need to have readline development files installed when configuring and building Rakudo, then it just works[tm]. In the configure steps it should say auto::re

Re: ^[[A^[[A

2010-03-09 Thread Timothy S. Nelson
On Tue, 9 Mar 2010, Kiffin Gish wrote: On Tue, 2010-03-09 at 19:00 +0100, Moritz Lenz wrote: Hi, Kiffin Gish wrote: How can recall previous commands (history) using ./perl6 without getting ^[[A^[[A instead? You need to have readline development files installed when configuring and building

Re: ^[[A^[[A

2010-03-09 Thread Kiffin Gish
On Tue, 2010-03-09 at 19:00 +0100, Moritz Lenz wrote: > Hi, > > Kiffin Gish wrote: > > How can recall previous commands (history) using ./perl6 without getting > > ^[[A^[[A instead? > > You need to have readline development files installed when configuring > and

Re: ^[[A^[[A

2010-03-09 Thread Jonathan Leto
Howdy, On Tue, Mar 9, 2010 at 9:43 AM, Kiffin Gish wrote: > How can recall previous commands (history) using ./perl6 without getting > ^[[A^[[A instead? I don't think the perl6 REPL has readline support yet. That might make a nice Google Summer of Code project for this year [0]. Duk

^[[A^[[A

2010-03-09 Thread Kiffin Gish
How can recall previous commands (history) using ./perl6 without getting ^[[A^[[A instead? -- Kiffin Gish Gouda, The Netherlands

[perl #63958] [BUG] Role composition error in module A::B used from A::A

2009-03-20 Thread jn...@jnthn.net via RT
On Wed Mar 18 00:05:22 2009, matt-w wrote: > This seems to require several files to reproduce. > > t.pl: > > use v6; > use A::A; > say "alive"; > > A/A.pm: > > module A::A; > use A::B; > > A/B.pm: > > module A::B; > > role

[perl #63958] [BUG] Role composition error in module A::B used from A::A

2009-03-18 Thread via RT
# New Ticket Created by Matthew Walton # Please include the string: [perl #63958] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=63958 > This seems to require several files to reproduce. t.pl: use v6; use A::A;

Re: [perl #60452] my $a; $a ~= "Yay"; # Multiple Dispatch: No suitable candidate found for 'i_concatenate', with signature 'PP'

2008-11-10 Thread Patrick R. Michaud
On Mon, Nov 10, 2008 at 02:58:48AM -0800, Ilya Belikin wrote: > Hi there, > Rakudo (r32485): > my $a; $a ~= "Yay"; # Multiple Dispatch: No suitable candidate found > for 'i_concatenate', with signature 'PP' Now fixed in r32496: $ ./parrot per

[perl #60452] my $a; $a ~= "Yay"; # Multiple Dispatch: No suitable candidate found for 'i_concatenate', with signature 'PP'

2008-11-10 Thread via RT
# New Ticket Created by Ilya Belikin # Please include the string: [perl #60452] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=60452 > Hi there, Rakudo (r32485): my $a; $a ~= "Yay"; # Multiple Dispatch

Re: [perl #59202] [BUG] [PATCH] Perl 6 code "class A::A {}; class A::A {}" crashes parrot

2008-09-23 Thread chromatic
On Monday 22 September 2008 08:28:26 Stephane Payrard wrote: > --- src/oo.c.orig   2008-09-22 16:59:06.0 +0200 > +++ src/oo.c2008-09-22 17:12:36.0 +0200 > @@ -603,10 +603,12 @@ >  static void >  fail_if_type_exists(PARROT_INTERP, ARGIN(PMC *name)) >  { > -    INTVAL      ty

[perl #59202] [BUG] [PATCH] Perl 6 code "class A::A {}; class A::A {}" crashes parrot

2008-09-23 Thread via RT
of printing an error message. rakudo > class A::A {} ; class A::A {}; Class A::A already registered! To be on the safe side, the code supports the old format. Note that there is still a problem to be solved. > class A::A {} ; class A::A {}; Class A::A already registered! > class A::A

[perl #59202] [BUG] [PATCH] Perl 6 code "class A::A {}; class A::A {}" crashes parrot

2008-09-22 Thread Patrick R. Michaud via RT
Patch rejected -- this patch modifies core OO-handling of Parrot to assume that '::' is a valid classname separator. Parrot doesn't use '::' as a separator -- that's strictly a Perlism. Pm

Re: [perl #58924] [BUG] my %a; %a = 't'; for keys %a { .say } misbehaving

2008-09-21 Thread Patrick R. Michaud
On Thu, Sep 18, 2008 at 04:12:26AM -0700, [EMAIL PROTECTED] via RT wrote: > On Tue Sep 16 08:56:29 2008, cognominal wrote: > > It prints "0\n" instead of the expected "i\n" > > > Fixed this in 31227, and values, and also cleaned up kv. They are now > multis that we use !EXPORT on (kv had been writ

[perl #58924] [BUG] my %a; %a = 't'; for keys %a { .say } misbehaving

2008-09-18 Thread [EMAIL PROTECTED] via RT
On Tue Sep 16 08:56:29 2008, cognominal wrote: > It prints "0\n" instead of the expected "i\n" > Fixed this in 31227, and values, and also cleaned up kv. They are now multis that we use !EXPORT on (kv had been written specially rather than just exporting the kv method on Mapping - just deleted tha

[perl #58924] [BUG] my %a; %a = 't'; for keys %a { .say } misbehaving

2008-09-16 Thread via RT
# New Ticket Created by Stephane Payrard # Please include the string: [perl #58924] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=58924 > It prints "0\n" instead of the expected "i\n" -- cognominal stef