[perl #57094] [BUG] infix:= converts a PGE::Match to a Str, not a Match

2008-12-05 Thread [EMAIL PROTECTED] via RT
Hi, After checking with the latest Rakudo, I think this issue is now resolved. We get: my $x = food; my $y = $x.match(/$x=[f](o+)/); say $y.WHAT; # Match say $y; # foo say $yx; # f say $y[0]; # oo However, this still failed: say $y ~~ Match; # gave 0 So I fixed that in 33504, and I think this

[perl #56602] [TODO] 'is also' doesn't work on class Str (but everywhere else)

2008-12-05 Thread [EMAIL PROTECTED] via RT
On Sun Nov 23 11:31:29 2008, moritz wrote: However the tests discovered that class Str can't be extended thusly (Method 'mydouble' not found for invocant of class 'Perl6Str', you get that output if you run the test file directly instead of the fudged version), so I'll leave this ticket open

[perl #61060] Parser bug with attributes and blocks

2008-12-05 Thread [EMAIL PROTECTED] via RT
On Fri Dec 05 02:05:07 2008, [EMAIL PROTECTED] wrote: This is a bit of a fragile one as it moves around depending on what NCI functions I have compiled. This segfaults for me: class foo { has $x; method y() { { $x } } } Previously it segfaulted like this: class Foo { has $x; method y

[perl #61052] [BUG]: r33482 Can't run 'make realclean' in languages/perl6 directory

2008-12-04 Thread [EMAIL PROTECTED] (via RT)
# New Ticket Created by [EMAIL PROTECTED] # Please include the string: [perl #61052] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=61052 This bug has been around for a while, but I've been too lazy to report

[perl #60898] Zip and ranges don't mix

2008-11-28 Thread [EMAIL PROTECTED] (via RT)
# New Ticket Created by [EMAIL PROTECTED] # Please include the string: [perl #60898] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=60898 10:04 moritz_ rakudo: say (a b c Z 1..10).perl 10:05 p6eval rakudo 33300

[perl #59982] [BUG] MMD fail for undef/complex interaction.

2008-11-26 Thread [EMAIL PROTECTED] via RT
On Sun Nov 23 10:33:24 2008, moritz wrote: On Sat Oct 18 17:15:30 2008, bacek wrote: Hello. 00:05 bacek rakudo: my $a; $a = $a + 1i; say $a 00:05 polyglotbot OUTPUT[Multiple Dispatch: No suitable candidate found for 'add', with signature 'PPP-P'␤current

[perl #60426] [BUG] Implementation of Enums isn't perfect.

2008-11-26 Thread [EMAIL PROTECTED] via RT
On Sat Nov 08 20:39:00 2008, [EMAIL PROTECTED] wrote: bacek rakudo: enum Fooget_string; polyglotbot OUTPUT[A method named 'get_string' already exists in class ''. It may have been supplied by a role.␤current instr.: '_block15' pc -339673149 ((unknown file):-1)␤called from Sub '_block15' pc

[perl #60854] died when try to instant class with attribute type Range

2008-11-26 Thread [EMAIL PROTECTED] via RT
On Wed Nov 26 04:27:12 2008, ihrd wrote: Hi! Rakudo 33212, example: class R { has Range $.range } my $r = R.new; died with: Null PMC access in clone() current instr.: 'parrot;Perl6Object;!cloneattr' pc 782 Ah yes, a missing null check. Added in r33218. Thanks, Jonathan

[perl #60366] [PATCH] 'does' fails with roles that have '::' in their names

2008-11-26 Thread [EMAIL PROTECTED] via RT
On Wed Nov 05 22:58:18 2008, [EMAIL PROTECTED] wrote: There are two bugs here. The attached patch fixes bug #2 but not bug #1. Bug #1) role A::B is not interpreted as a role, but just as a module. ./perl6 -e 'role A { method foo { say Foo; } }; say A.WHAT' Role ./perl6 -e

[perl #60796] There's something wrong with creating classes inside block eval

2008-11-26 Thread [EMAIL PROTECTED] via RT
On Mon Nov 24 15:12:48 2008, masak wrote: masak rakudo: eval { class A { has $.x } }; say A.new(x=5).x p6eval rakudo 33156: OUTPUT[5␤Null PMC access in find_method()␤current instr.: 'parrot;Perl6;Compiler;main' pc 136910 (src/gen_actions.pir:13693)␤] masak it gives the right answer, but then

[perl #60778] Strange error message in Rakudo on $var .= string

2008-11-26 Thread [EMAIL PROTECTED] via RT
On Mon Nov 24 07:52:42 2008, masak wrote: $ perl6 -c -e 'my $a; $a .= A' Method 'panic' not found for invocant of class 'PGE;Match' I inadvertently wrote this when meaning '~='. It would probably be a good thing to emit a helpful error message in this case. (Unless it's legal Perl 6, which

[perl #60850] r33207: Multiple spectest failures on OS X

2008-11-26 Thread [EMAIL PROTECTED] via RT
Hi! Thanks for testing. :-) On Tue Nov 25 23:38:58 2008, [EMAIL PROTECTED] wrote: t/spec/S12-methods/default-trait.t (Wstat: 0 Tests: 6 Failed: 1) Failed test: 2 I'd be especially interested in the test output of this one (or to know if it's no longer failing

[perl #60620] @a[1].=subst parsefail

2008-11-26 Thread [EMAIL PROTECTED] via RT
On Mon Nov 17 13:49:03 2008, masak wrote: Rakudo r32733: masak rakudo: my @a; @a[0].=subst( '', '') polyglotbot OUTPUT[PAST::Compiler can't compile a null node␤current instr.: [...] Ah, yes, .= was only handling a scalar on the LHS. Thanks to PAST enhancements since I first implemented .=,

[perl #60150] Rakudo can only call non-lexical -sigil subs

2008-11-26 Thread [EMAIL PROTECTED] via RT
On Sun Oct 26 14:26:27 2008, masak wrote: Rakudo r32151 is only able to call -sigil subs if they have not been initialized with my. $ ./perl6 -e 'b = say; b(5)' # works 5 $ ./perl6 -e 'my b = say; b(5)' # fails Lexical 'b' not found [...] This was fixed earlier today, and I've made

[perl #60718] [PATCH] better error message for .new on undefined class

2008-11-26 Thread [EMAIL PROTECTED] via RT
On Thu Nov 20 20:46:18 2008, [EMAIL PROTECTED] wrote: If you accidentally try to instantiate a class that has not been defined, but the namespace for that class has been vivified, then you get an obscure error message: ... With the attached patch, Rakudo instead dies with a more

[perl #60850] r33207: Multiple spectest failures on OS X

2008-11-26 Thread [EMAIL PROTECTED] (via RT)
# New Ticket Created by [EMAIL PROTECTED] # Please include the string: [perl #60850] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=60850 I still have out of country guests, so I won't have much follow up time

[perl #60636] [TODO] implement 'is rw' trait on classes

2008-11-19 Thread [EMAIL PROTECTED] (via RT)
# New Ticket Created by [EMAIL PROTECTED] # Please include the string: [perl #60636] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=60636 Rakudo needs to have the 'is rw' trait on classes at some point (which

[perl #60662] Failed tests: t/pmc/nci.t

2008-11-19 Thread [EMAIL PROTECTED] (via RT)
# New Ticket Created by [EMAIL PROTECTED] # Please include the string: [perl #60662] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=60662 --- osname= linux osvers= 2.6.23-gentoo-r3 arch= x86_64-linux cc= x86_64

[perl #58244] [BUG] inheritance of attributes

2008-11-16 Thread [EMAIL PROTECTED] via RT
On Tue Nov 04 14:55:43 2008, [EMAIL PROTECTED] wrote: After studying these, it appears that they are actually not inheritance issues (which may exist, but I don't think it's the problem here), but actually the same problem as you get in doing: my $x; $x -= 3; Namely, that x and y

[perl #58396] Closure parameters do not work in if statements in Rakudo

2008-11-16 Thread [EMAIL PROTECTED] via RT
On Wed Aug 27 06:17:33 2008, masak wrote: r30590: $ ./perl6 -e 'sub testa { return 5 }; if testa() - $a { say $a }' Statement not terminated properly at line 1, near - $a { sa [...] This now works (thanks to pmichaud++) - resolving ticket. Jonathan

[perl #60572] can`t set attribute-array for object in .new

2008-11-16 Thread [EMAIL PROTECTED] via RT
On Sun Nov 16 01:25:10 2008, ihrd wrote: example: class Foo { has @.a; } my @b = 1,2,3; my $f = Foo.new(a = @b); $f.a.perl.say; # [] Fixed in r32733. Thanks, Jonathan

[perl #60528] Rakudo wrongly permits mutation of readonly variables in some cases

2008-11-16 Thread [EMAIL PROTECTED] via RT
On Fri Nov 14 05:58:21 2008, pmichaud wrote: On Thu, Nov 13, 2008 at 03:21:45PM -0800, Carl Mäsak wrote: Rakudo r32629 sometimes dies when assigning a readonly variable to itself, and sometimes not. $ ./perl6 -e 'for a b c - $foo { $foo = $foo; say $foo }' # dies, good Cannot assign to

[perl #60358] Rakudo doesn't recognize grammars with :: in the name

2008-11-11 Thread [EMAIL PROTECTED] via RT
On Wed Nov 05 19:31:36 2008, chrisdolan wrote: It took a while to understand the code, but the solution was a one-liner. Patch attached. Unfortunately, the patch produced a bunch of spectest failures. However, it wasn't because the patch was wrong, but rather a bug in some code generation in

[perl #58602] subset types and multi dispatch don't mix

2008-11-11 Thread [EMAIL PROTECTED] via RT
On Fri Sep 05 08:26:34 2008, [EMAIL PROTECTED] wrote: Rakudo r30787 dies on multi dispatch when subset types are involved: test file: subset Even of Int where { $_ % 2 == 0 }; subset Odd of Int where { $_ % 2 == 1 }; multi sub test_subtypes(Even $y){ 'Even' } multi sub test_subtypes

[perl #58388] [BUG] Num typecheck doesn't accept integers

2008-11-11 Thread [EMAIL PROTECTED] via RT
On Wed Aug 27 02:29:23 2008, stifynsemons wrote: my Num $x = 3; causes a typecheck failure, whereas: Fixed in r32528. Thanks, Jonathan

[perl #59484] [TODO] Implement $?PACKAGE in Rakudo

2008-11-11 Thread [EMAIL PROTECTED] via RT
On Tue Sep 30 06:04:03 2008, masak wrote: ...as described in S02: http://perlcabal.org/syn/S02.html#line_1944 Package declarations are not implemented yet, but even without them, $?PACKAGE could be useful in the following case: class A { say This is class $?PACKAGE } Implemented in

A question about role-private attributes

2008-11-09 Thread [EMAIL PROTECTED]
I am trying to understand the following small portion from S12, and it seems slightly ambiguous to me: === from S12: You may wish to declare an attribute that is hidden even from the class; a completely private role attribute may be declared like this: Cmy $!spleen; The name of such a

[perl #60356] Rakudo doesn't allow inheriting from classes with :: in the name

2008-11-06 Thread [EMAIL PROTECTED] via RT
On Wed Nov 05 21:38:15 2008, chrisdolan wrote: ... and here's a patch to Rakudo's actions.pm to implement the fix. I would be very happy if someone more experienced with NQP and PAST looked over the patch to see if there's a better way to do this. Looks to be pretty much what I'd have done

[perl #59104] export sub from used module is broken if make pir

2008-11-04 Thread [EMAIL PROTECTED] via RT
On Sat Sep 20 01:25:09 2008, moritz wrote: On Fri Sep 19 22:45:29 2008, ihrd wrote: Hi, I compile parrot r31282 and November do not export sub from modules on pir (in r31264 the same situation): I suspect that could be related to r31226 | jonathan | 2008-09-18 12:46:58 +0200 (Thu, 18

[perl #57446] Enums of only one element don't work i rakudo

2008-11-04 Thread [EMAIL PROTECTED] via RT
On Sat Aug 02 13:02:39 2008, pmichaud wrote: On Wed, Jul 30, 2008 at 10:46:27PM -0700, Carl Mäsak wrote: $ svn info | grep Revi Revision: 29902 $ ./perl6 -e 'enum WeekdayMonday Tuesday;' # works $ ./perl6 -e 'enum WeekdayMonday;' # doesn't get_pmc_keyed() not implemented in class

[perl #59928] Calling methods in many-jointed classes doesn't work

2008-11-04 Thread [EMAIL PROTECTED] via RT
On Thu Oct 16 10:22:06 2008, masak wrote: Moritz (), Carl (): Rakudo r31994 can call methods on classes without :: in them, but not on classes having them. $ perl6 -e 'class A { method foo { say OH HAI } }; A.new.foo' OH HAI $ perl6 -e 'class A::B { method foo { say OH HAI } };

[perl #60176] Rakudo fails on defining classes with core roles

2008-11-04 Thread [EMAIL PROTECTED] via RT
On Mon Oct 27 10:55:52 2008, masak wrote: Rakudo r32151 can't create classes with roles from the Rakudo-defined classes. $ ./perl6 -e 'role B {}; class A does B {}' # this works $ perl6 -e 'class A does Int {}' # this doesn't Method 'methods' not found [...] Now, Int is a class in

[perl #60008] @array ~~ / regexp / do not work properly, look like array stratification there

2008-11-04 Thread [EMAIL PROTECTED] via RT
On Mon Oct 20 06:11:17 2008, ihrd wrote: my @a = ('a', 'b' ); say @a ~~ / 'b' /?? ':)' !! ':('; # :) say @a ~~ / ^ 'b' /?? ':)' !! ':('; # :( say @a ~~ / ^ 'a' /?? ':)' !! ':('; # :) say @a ~~ / ^ 'a' $ / ?? ':)' !! ':('; # :( They're all smiling as of r32328. Spasibo,

[perl #58918] [BUG] Can't use a subdir class twice

2008-11-04 Thread [EMAIL PROTECTED] via RT
On Tue Sep 16 05:36:02 2008, stifynsemons wrote: In r31096, use allows a program to use module A and module B, and allows module B to use module A, when module A defines a method as long as all three files are in the same directory. However, when you try and put module A and module B in the

[perl #60160] [BUG] [PATCH] recursive use causes infinite loop.

2008-11-04 Thread [EMAIL PROTECTED] via RT
On Sun Oct 26 19:55:51 2008, [EMAIL PROTECTED] wrote: The following simple test involves two .pm files that depend on each other. In revision 32120, this causes an infinite loop. The attached trivial patch prevents the loop by making Rakudo mark the modules as loaded before parsing

[perl #60190] [BUG] problems with the compiler-option -O2 on a 64bit-system

2008-10-28 Thread [EMAIL PROTECTED] (via RT)
# New Ticket Created by [EMAIL PROTECTED] # Please include the string: [perl #60190] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=60190 Hello I want to build parrot-RPMs on a 64bit system under Fedora 9

[perl #60006] [BUG] there is a problem with the function die

2008-10-20 Thread [EMAIL PROTECTED] (via RT)
# New Ticket Created by [EMAIL PROTECTED] # Please include the string: [perl #60006] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=60006 Hello! There is a problem with the function die in Rakudo. I tried

[perl #60016] [PATCH] Make basic Perl 6 tests pass

2008-10-20 Thread [EMAIL PROTECTED] (via RT)
# New Ticket Created by [EMAIL PROTECTED] # Please include the string: [perl #60016] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=60016 If you do this after building parrot: cd languages/perl6 make test

[perl #60018] [PATCH] Update README test information

2008-10-20 Thread [EMAIL PROTECTED] (via RT)
# New Ticket Created by [EMAIL PROTECTED] # Please include the string: [perl #60018] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=60018 I was having trouble figuring out how to run individual tests. Moritz Lenz

[perl #59918] Re: building parrot

2008-10-16 Thread [EMAIL PROTECTED] (via RT)
# New Ticket Created by [EMAIL PROTECTED] # Please include the string: [perl #59918] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=59918 On Wed, Oct 15, 2008 at 9:52 AM, Will Coleda [EMAIL PROTECTED] wrote: Do you

[perl #59790] t/stm/basic_mt.t #4 hangs under cygwin since svn 31655-ish

2008-10-11 Thread [EMAIL PROTECTED] (via RT)
# New Ticket Created by [EMAIL PROTECTED] # Please include the string: [perl #59790] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=59790 perl t/stm/basic_mt.t hangs since about October 5 under cygwin

[perl #58998] [TODO] remove underscores from numbers to make imcc happy

2008-09-18 Thread [EMAIL PROTECTED] via RT
On Thu Sep 18 00:49:59 2008, [EMAIL PROTECTED] wrote: r31220: say 23_433 23433 say 23_433.4_4 error:imcc:syntax error, unexpected IDENTIFIER, expecting '\n' ('_433') in file 'EVAL_13' line 12 23 Obviously the underscores in the fractional part of the number needs

[perl #58936] [TODO] promote 'use' to happen at compile time

2008-09-18 Thread [EMAIL PROTECTED] via RT
On Tue Sep 16 13:04:11 2008, [EMAIL PROTECTED] wrote: ... But move class Dog { ... } into Dog.pm and import it with 'use Dog;' and Rakudo is like 'Attempt to inherit from non-existent parent class'. This bug is like fixed. Well, kinda. Your example now runs. However, modules using modules

[perl #58924] [BUG] my %a; %ai = '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 that and

[perl #58824] Inheriting from imported classes is broken in Rakudo

2008-09-18 Thread [EMAIL PROTECTED] via RT
On Sat Sep 13 03:41:27 2008, masak wrote: Rakudo r31066 is experiencing problems with classes defined in used modules. $ perl6 -e 'class A {}; class B is A {}' # this works $ cat A.pm # but... put the class A in a file... class A {} $ ./perl6 -e 'use A; class B is A {}' # ...and it stops

[perl #58828] Make calleable -sigil parameters work in rakudo

2008-09-18 Thread [EMAIL PROTECTED] via RT
On Sat Sep 13 04:33:53 2008, masak wrote: In Rakudo r31066, this works... $ ./perl6 -e 'sub a($b) { $b(5) }; a(say)' # cool! 5 ...but not the following: bacek rakudo: sub a(b) { b(5) }; a(say) polyglotbot OUTPUT[Could not find non-existent sub b␤current instr.: 'a' pc 139

[perl #58958] Build of 0.7.1 fails with Intel compiler on Linux

2008-09-17 Thread [EMAIL PROTECTED] (via RT)
# New Ticket Created by [EMAIL PROTECTED] # Please include the string: [perl #58958] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=58958 I'm trying to build Parrot 0.7.1 with Intel Compiler (see version information

[perl #58936] [TODO]

2008-09-16 Thread [EMAIL PROTECTED] (via RT)
# New Ticket Created by [EMAIL PROTECTED] # Please include the string: [perl #58936] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=58936 With Rakudo 0.7.0-devel r31065 inheritance works as in this single file

[perl #58150] Doing split on the result of a slurped empty file results in a Null PMC Access in rakudo

2008-09-11 Thread [EMAIL PROTECTED] via RT
On Fri Aug 29 13:14:19 2008, ronaldxs wrote: $ empty ./perl6 -e 'say split(\n, $*IN.slurp)' # but this fails Two proposed patches attached. The patch to src/pmc/parrotiio.pmc seems to fix the problem as originally stated. Then the patch to languages/perl6/src/classes/Str.pir seems to

[perl #58602] subset types and multi dispatch don't mix

2008-09-11 Thread [EMAIL PROTECTED] via RT
On Fri Sep 05 08:26:34 2008, [EMAIL PROTECTED] wrote: Rakudo r30787 dies on multi dispatch when subset types are involved: Yes; this ticket depends on us switching over to the new multi-dispatcher (perl6multisub.pmc), which does handle this case. I hope to get that sorted out in the near future

[perl #58012] Empty contextualizer @() should be same as @($/)

2008-09-11 Thread [EMAIL PROTECTED] via RT
Hi, This is implemented in r30983, as are $() and %() (which mean $($/) and %($/) respectively). Also unfudge'd a spec test. Jonathan

[perl #58012] Empty contextualizer @() should be same as @($/)

2008-09-11 Thread [EMAIL PROTECTED] via RT
Hi, This is implemented in r30983, as are $() and %() (which mean $($/) and %($/) respectively). Also unfudge'd a spec test. Jonathan

[perl #58012] Empty contextualizer @() should be same as @($/)

2008-09-11 Thread [EMAIL PROTECTED] via RT
Hi, This is implemented in r30983, as are $() and %() (which mean $($/) and %($/) respectively). Also unfudge'd a spec test. Jonathan

[perl #58012] Empty contextualizer @() should be same as @($/)

2008-09-11 Thread [EMAIL PROTECTED] via RT
Hi, This is implemented in r30983, as are $() and %() (which mean $($/) and %($/) respectively). Also unfudge'd a spec test. Jonathan

[perl #57338] parrot segfaults after nonexistent method is called from within sub invoked without parens in rakudo

2008-09-11 Thread [EMAIL PROTECTED] via RT
On Sun Jul 27 08:06:04 2008, masak wrote: This also works, but segfaults: $ ./perl6 -e 'class A {}; sub c { say A.new.b() }; c' Method 'b' not found for invocant of class 'A' current instr.: 'c' pc 99 (EVAL_13:42) called from Sub '_block11' pc 17 (EVAL_13:11) called from Sub

[perl #58558] Implement stubby exception generators in Rakudo

2008-09-11 Thread [EMAIL PROTECTED] via RT
On Wed Sep 03 11:10:21 2008, masak wrote: Implement the '...', '???' and '!!!' operators, as described in S03:1691. I've just done in r30980 the argumentless case of '...': sub foo { ... } my $x = foo(); say $x; Attempt to execute stub code (...). The argument version needs a bit more work as

[perl #57858] $/ is de-defined in if blocks in rakudo

2008-09-11 Thread [EMAIL PROTECTED] via RT
Hi, All broken examples in this ticket now work as or r22207. Thanks, Jonathan

[perl #58352] The inside of a while loop loses $/ in Rakduo

2008-09-11 Thread [EMAIL PROTECTED] via RT
On Wed Aug 27 02:10:10 2008, moritz wrote: On Mon Aug 25 01:37:17 2008, masak wrote: r30528: $ ./perl6 -e 'while (test ~~ /(es)/) { say $0; exit; }' Null PMC access in get_pmc_keyed_int() [...] Segmentation fault FWIW, the error shows up in r30503, whose slightly Orwellian message

[perl #58678] [BUG] defining a regex after a grammar places the regex in the grammar namespace

2008-09-11 Thread [EMAIL PROTECTED] via RT
On Mon Sep 08 09:08:50 2008, [EMAIL PROTECTED] wrote: Rakudo, r30888. When defining a grammar and regex, defining a regex after a grammar places the regex in the grammar namespace, but vice versa works fine. Below is some demo code (switch the definition placements and comment out

[perl #58392] Recursion and for loops interact badly in Rakudo

2008-09-11 Thread [EMAIL PROTECTED] via RT
Hi, Here is a pure PIR example that doesn't depend on Rakudo at all. .sub main :main $P0 = new 'Integer' $P0 = 2 'f'($P0) .end .sub 'f' .param pmc l .lex $l, l $P0 = find_lex $l if $P0 = 0 goto ret print entering $P1 = find_lex $l say $P1 $I0 = 1

[perl #58726] [PATCH] add the option encoding to Configure.pl

2008-09-09 Thread [EMAIL PROTECTED] (via RT)
# New Ticket Created by [EMAIL PROTECTED] # Please include the string: [perl #58726] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=58726 Hello, this patch adds the option encoding to the configuration of Parrot

Article Writing amp; Submission Service To 5,700+ Sites!

2008-09-08 Thread [EMAIL PROTECTED]
nbsp;nbsp;nbsp;nbsp;nbsp; Hi!nbsp; My name is Kristi Ambrose, and I have an article writing and submission service.nbsp; Let me write an article for you, and allow me to submit it to over 5700+ sites with YOUR link in the author signature box!nbsp; Just imagine doing it all by yourself, one

[perl #58354] [PATCH] for the file parrot.spec

2008-08-25 Thread [EMAIL PROTECTED] (via RT)
# New Ticket Created by [EMAIL PROTECTED] # Please include the string: [perl #58354] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=58354 Hello, this patch removes the file parrot-config from parrot.spec, because

[perl #58004] Investigate junction of code object failures (S03-junctions/misc.t)

2008-08-17 Thread [EMAIL PROTECTED] (via RT)
# New Ticket Created by [EMAIL PROTECTED] # Please include the string: [perl #58004] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=58004 - Likely depends on junction dispatcher

[perl #57970] Finish implementing radix notation (see S02-literals/radix.t for details)

2008-08-17 Thread [EMAIL PROTECTED] (via RT)
# New Ticket Created by [EMAIL PROTECTED] # Please include the string: [perl #57970] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=57970 - C code in Perl6Str.pmc needs refactoring and updating

[perl #58014] Implement NaN and Inf

2008-08-17 Thread [EMAIL PROTECTED] (via RT)
# New Ticket Created by [EMAIL PROTECTED] # Please include the string: [perl #58014] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=58014 - Need to determine if Parrot will support NaN/Inf directly, or if Rakudo

[perl #57964]

2008-08-16 Thread [EMAIL PROTECTED] (via RT)
# New Ticket Created by [EMAIL PROTECTED] # Please include the string: [perl #57964] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=57964

[perl #57972] Implement eqv and === operators

2008-08-16 Thread [EMAIL PROTECTED] (via RT)
# New Ticket Created by [EMAIL PROTECTED] # Please include the string: [perl #57972] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=57972 - No dependencies

[perl #57966] Implement Whatever (

2008-08-16 Thread [EMAIL PROTECTED] (via RT)
# New Ticket Created by [EMAIL PROTECTED] # Please include the string: [perl #57966] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=57966

[perl #57974] Implement missing infix:xx= operator

2008-08-16 Thread [EMAIL PROTECTED] (via RT)
# New Ticket Created by [EMAIL PROTECTED] # Please include the string: [perl #57974] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=57974 - Awaiting parser improvements to properly parse and handle

[perl #57980] Fix bugs with nested ?? !!

2008-08-16 Thread [EMAIL PROTECTED] (via RT)
# New Ticket Created by [EMAIL PROTECTED] # Please include the string: [perl #57980] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=57980 - Awaiting parser improvements (PGE)

[perl #57976] Implement infix:orelse

2008-08-16 Thread [EMAIL PROTECTED] (via RT)
# New Ticket Created by [EMAIL PROTECTED] # Please include the string: [perl #57976] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=57976 - Requires some specialized structures, perhaps a new PAST::Op pasttype (PCT)

[perl #57978] Implement last/redo/next/continue control exceptions

2008-08-16 Thread [EMAIL PROTECTED] (via RT)
# New Ticket Created by [EMAIL PROTECTED] # Please include the string: [perl #57978] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=57978 - Needs last/redo/next/continue exceptions in PCT (PCT)

[perl #57984] Finish implementing given and check/fix tests in S04-statements\given.t

2008-08-16 Thread [EMAIL PROTECTED] (via RT)
# New Ticket Created by [EMAIL PROTECTED] # Please include the string: [perl #57984] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=57984 - Need resumable exceptions (Parrot)

[perl #57982] Fix lambda expression parse bug when used as rvalue

2008-08-16 Thread [EMAIL PROTECTED] (via RT)
# New Ticket Created by [EMAIL PROTECTED] # Please include the string: [perl #57982] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=57982 - Needs parser/PGE fix (PGE)

[perl #58012] Empty contextualizer @() should be same as @($/)

2008-08-16 Thread [EMAIL PROTECTED] (via RT)
# New Ticket Created by [EMAIL PROTECTED] # Please include the string: [perl #58012] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=58012 - File an RT ticket for this with test case

[perl #58010] Implement ::?CLASS

2008-08-16 Thread [EMAIL PROTECTED] (via RT)
# New Ticket Created by [EMAIL PROTECTED] # Please include the string: [perl #58010] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=58010 - Update in actions.pm to define compiler variable

[perl #57986] ) in array indexes

2008-08-16 Thread [EMAIL PROTECTED] (via RT)
# New Ticket Created by [EMAIL PROTECTED] # Please include the string: [perl #57986] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=57986 - need an implementation of Whatever

[perl #58002] Implement state variables

2008-08-16 Thread [EMAIL PROTECTED] (via RT)
# New Ticket Created by [EMAIL PROTECTED] # Please include the string: [perl #58002] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=58002 - Need to fix lexical and initialization issues (Parrot)

[perl #58020] Fix problem with using Str as a type constraint or in MMD

2008-08-16 Thread [EMAIL PROTECTED] (via RT)
# New Ticket Created by [EMAIL PROTECTED] # Please include the string: [perl #58020] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=58020 - File an RT ticket for this?

[perl #57968] Fix issues with Int type constraint and Integer PMCs

2008-08-16 Thread [EMAIL PROTECTED] (via RT)
# New Ticket Created by [EMAIL PROTECTED] # Please include the string: [perl #57968] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=57968 - awaiting .HLL capabilities

[perl #57996] Make m/.../ syntax for constructing a regex work

2008-08-16 Thread [EMAIL PROTECTED] (via RT)
# New Ticket Created by [EMAIL PROTECTED] # Please include the string: [perl #57996] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=57996 - Update grammar.pg (short-term), or wait for STD.pm integration

[perl #58018] Fix MMD-related bugs in S03-operators\range.t

2008-08-16 Thread [EMAIL PROTECTED] (via RT)
# New Ticket Created by [EMAIL PROTECTED] # Please include the string: [perl #58018] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=58018 - Need to refactor comparison ops in rakudo to avoid or handle 'cmp'

[perl #58000] Comparison operators on junctions should return junction of True/False

2008-08-16 Thread [EMAIL PROTECTED] (via RT)
# New Ticket Created by [EMAIL PROTECTED] # Please include the string: [perl #58000] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=58000 - Needs junction dispatcher

[perl #58022] Implement return type coercion (as) and constraint (of)

2008-08-16 Thread [EMAIL PROTECTED] (via RT)
# New Ticket Created by [EMAIL PROTECTED] # Please include the string: [perl #58022] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=58022

[perl #57998] Fix modulo bugs and MMD-related bugs for += and -= (S03-operators\arith.t)

2008-08-16 Thread [EMAIL PROTECTED] (via RT)
# New Ticket Created by [EMAIL PROTECTED] # Please include the string: [perl #57998] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=57998 - Awaiting parser improvements to properly parse and handle

[perl #58006] Fix .{key} parsefail when (hash index into $_)

2008-08-16 Thread [EMAIL PROTECTED] (via RT)
# New Ticket Created by [EMAIL PROTECTED] # Please include the string: [perl #58006] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=58006 - likely parser bug (Rakudo grammar.pg)

[perl #57990] Implement prefix:\ operator

2008-08-16 Thread [EMAIL PROTECTED] (via RT)
# New Ticket Created by [EMAIL PROTECTED] # Please include the string: [perl #57990] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=57990 - Need some clarity in spec and spectests for Capture objects

[perl #58008] Implement loops and conditionals taking pointy blocks

2008-08-16 Thread [EMAIL PROTECTED] (via RT)
# New Ticket Created by [EMAIL PROTECTED] # Please include the string: [perl #58008] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=58008 - Needs some minor PCT updates (PCT)

[perl #57988] Implement Rat data type

2008-08-16 Thread [EMAIL PROTECTED] (via RT)
# New Ticket Created by [EMAIL PROTECTED] # Please include the string: [perl #57988] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=57988 - awaiting clearer spec/understanding of the relationship between Num and Rat

[perl #57992] Implement infinite ranges

2008-08-16 Thread [EMAIL PROTECTED] (via RT)
# New Ticket Created by [EMAIL PROTECTED] # Please include the string: [perl #57992] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=57992 - awaiting Whatever implementation

[perl #58024] Implement .perl on code objects

2008-08-16 Thread [EMAIL PROTECTED] (via RT)
# New Ticket Created by [EMAIL PROTECTED] # Please include the string: [perl #58024] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=58024 - Need a clarification of what .perl should return here

[perl #56748] [BUG] Null PMC access in type()

2008-08-08 Thread [EMAIL PROTECTED] via RT
On Wed Jul 09 10:48:19 2008, [EMAIL PROTECTED] wrote: I found a small piece of code that reproduces the Null PMC access in type() error: sub f(Int $n){ if ($n = 0 ){ f($n-1); } } f(0); produces the above error on parrot + rakudo r29207, Debian GNU Linux i386 32bit

[perl #56944] [BUG] integer arithmtics should result in integers

2008-08-08 Thread [EMAIL PROTECTED] via RT
On Tue Jul 15 04:12:36 2008, [EMAIL PROTECTED] wrote: Rakudo r29470: $ ../../parrot perl6.pbc -e 'say (1+1).WHAT' Num $ ../../parrot perl6.pbc -e 'say (1*1).WHAT' Num $ ../../parrot perl6.pbc -e 'say (1**1).WHAT' Num All of these should print Int instead. And they do as of r30092

[perl #54736] error on winxp with perl6.exe 0.6.2

2008-08-08 Thread [EMAIL PROTECTED] via RT
Hi, On Fri May 23 14:26:47 2008, [EMAIL PROTECTED] wrote: a simple say 6; throws Null PMC access in isa() current instr.: 'parrot;Perl6Object;make_proto' pc 58 (src/gen_builtins.pir:81) called from Sub 'parrot;Perl6Str;onload' pc 1181 (src/gen_builtins.pir:804) called from Sub

[perl #56014] bug in spectest_regression

2008-08-08 Thread [EMAIL PROTECTED] via RT
On Sun Jun 29 14:06:44 2008, pmichaud wrote: On Wed Jun 18 09:38:09 2008, [EMAIL PROTECTED] wrote: A test in spectest_regression failed, It was in S02-polymorphic_types: I'm running on Win32 (XP SP2), parrot/perl6 was built with Visual Studio 9 Express and Activestate 5.8

[perl #56618] [BUG] rakudo segfaults calling subs in a module

2008-08-08 Thread [EMAIL PROTECTED] via RT
On Sun Jul 06 10:13:15 2008, jhorwitz wrote: excellent, this fixes my problem. do we want to close out this ticket and let RT #47956 handle the rest, or are there still some lingering issues to address with :instanceof? Maybe, but we're not using it for the moment and there's some larger

[perl #57388] Namespaces don't work in class declarations

2008-08-08 Thread [EMAIL PROTECTED] via RT
On Tue Jul 29 11:27:34 2008, [EMAIL PROTECTED] wrote: Hi there, declaring classes in other namespaces except the toplevel one results in emtpy classes (revision 29850). This code: class Foo::Bar { method foo {} } my $b = Foo::Bar.new; $b.foo; Gives this stacktrace Method 'foo

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

2008-08-08 Thread [EMAIL PROTECTED] via RT
On Sun Jul 27 08:27:18 2008, masak wrote: From S06 http://dev.perl.org/perl6/doc/design/syn/S06.html: ] {...} is always a block. However, if it is completely empty or consists ] of a single list, the first element of which is either a hash or a pair, it ] is executed immediately to compose

[perl #57422] Assigning to instance hashes,arrays fails

2008-08-07 Thread [EMAIL PROTECTED] via RT
Hi, As of r30090, the following: -- class Foo { has %.bar is rw; method set_bar { %.bara = 'baz'; } } my $foo = Foo.new; $foo.set_bar(); my %s = $foo.bar; say %sa; -- Now prints baz. Also this: -- class Bar { has @.bar is rw; method set_bar { @.bar[0] =

  1   2   >