[perl #57230] Class variables with 'my' don't work in rakudo

2008-07-27 Thread jn...@jnthn.net via RT
On Wed Jul 23 14:56:05 2008, masak wrote: Using 'has' works in rakudo: $ perl6 -e 'class A { has $.x; method foo { say $.x } }; my A $a .= new; $a.foo' Object But using 'my' (to create a class attribute as per S12:616) doesn't work: $ perl6 -e 'class A { my $.x; method foo { say $.x }

[perl #57316] multisub in Test.pm causes complex subtraction to fail

2008-07-27 Thread Jonathan Leto
# New Ticket Created by Jonathan Leto # Please include the string: [perl #57316] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=57316 Howdy folks, I have attached a diff which includes a patch to is_approx() in

[perl #57330] 'exit' from deep within rakudo call stack causes segmentation fault

2008-07-27 Thread Carl Mäsak
# New Ticket Created by Carl Mäsak # Please include the string: [perl #57330] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=57330 $ svn info | grep Revi Revision: 29791 The following works: $ ./perl6 -e 'exit' $

[perl #57340] Empty {} or pair {1=2} does not create anonymous hash in rakudo

2008-07-27 Thread Carl Mäsak
# New Ticket Created by Carl Mäsak # Please include the string: [perl #57340] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=57340 From S06 http://dev.perl.org/perl6/doc/design/syn/S06.html: ] {...} is always a

[perl #57336] Using attribute variables outside of methods causes strange errors in rakudo

2008-07-27 Thread Carl Mäsak
# New Ticket Created by Carl Mäsak # Please include the string: [perl #57336] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=57336 This works... $ ./perl6 -e 'class A { my $.a; method m { say $.a } }' ...and

[perl #57318] Untodo a test

2008-07-27 Thread via RT
# New Ticket Created by Michael G Schwern # Please include the string: [perl #57318] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=57318 The value can be used for attribute name in derived classes is passing on my

Re: [perl #57318] Untodo a test

2008-07-27 Thread Moritz Lenz
Thank you, applied as r21575 in the pugs repository, where the tests are hosted. I see that you have a commit bit for the pugs repository already, so if you feel confident, go ahead and check in changes by yourself. Cheers, Moritz Michael G Schwern (via RT) wrote: # New Ticket Created by

[perl #57310] [PATCH] Add Default Stringification of Objects

2008-07-27 Thread via RT
# New Ticket Created by chromatic # Please include the string: [perl #57310] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=57310 From masak in IRC today: class A {}; say A.new polyglotbot

[perl #57332] Matching against nonexistent class throws wrong kind of error

2008-07-27 Thread Carl Mäsak
# New Ticket Created by Carl Mäsak # Please include the string: [perl #57332] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=57332 $ svn info | grep Revi Revision: 29791 There's no problem matching against an extant

[perl #57324] t/fetchspec is obsolete?

2008-07-27 Thread via RT
# New Ticket Created by Eric Wilhelm # Please include the string: [perl #57324] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=57324 Hi, It seems that this file may be no longer used (no change since r25301 -

[perl #57346] parsefail on m/foo/ (/foo/ works)

2008-07-27 Thread via RT
# New Ticket Created by Adrian Kreher # Please include the string: [perl #57346] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=57346 I've been adding tests to S05 for a few days, and I've noticed that the m/foo/

[perl #57226] The statement '.say while =$*IN' makes parrot segfault

2008-07-27 Thread Patrick R. Michaud via RT
This has to do with 'while' not being recognized as a stdstopper in Rakudo yet. See #57352. Pm

[perl #57352] Implement stdstopper in grammar

2008-07-27 Thread Patrick R. Michaud (via RT)
# New Ticket Created by Patrick R. Michaud # Please include the string: [perl #57352] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=57352 Currently Rakudo doesn't recognize certain keywords as being expression

[perl #57334] Zero-arg 'return' does not work with statement-modifier 'if' in rakudo

2008-07-27 Thread Patrick R. Michaud via RT
This is because statement modifiers aren't yet recognized as stdstopper in Rakudo's grammar yet. See #57352.