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 }
# 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
# 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'
$
# 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
# 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
# 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
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
# 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
# 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
# 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 -
# 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/
This has to do with 'while' not being recognized as a stdstopper in
Rakudo yet. See #57352.
Pm
# 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
This is because statement modifiers aren't yet recognized as
stdstopper in Rakudo's grammar yet. See #57352.
14 matches
Mail list logo