Re: [perl #41788] [BUG] Real registers are limited to 2 digits

2008-12-01 Thread NotFound
> Currently, IMCC still has a 2-digit limit for PASM registers. > I think we can easily extend this to any number, as long as it fits in > an INTVAL. Last time I checked, register allocator and some other imcc parts used unsigned char for register numbers in several places. -- Salu2

[perl #60946] [BUG] cannot override isa() if PIR uses isa opcode

2008-12-01 Thread via RT
# New Ticket Created by Chris Dolan # Please include the string: [perl #60946] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=60946 > I'm trying to make mock objects in Rakudo, but the 'isa' opcode in PIR seems to ignore

Parrot Bug Summary

2008-12-01 Thread Parrot Bug Summary
Parrot Bug Summary http://rt.perl.org/rt3/NoAuth/parrot/Overview.html Generated at Mon Dec 1 14:00:01 2008 GMT --- * Numbers * New Issues * Overview of Open Issues * Ticket Status By Version * Requestors with mo

Re: [perl #48445] [TODO] [NQP] - report undeclared variable usage

2008-12-01 Thread Will Coleda
On Mon, Dec 1, 2008 at 9:52 AM, Klaas-Jan Stol via RT <[EMAIL PROTECTED]> wrote: > On Thu Jun 26 20:16:45 2008, coke wrote: >> On Mon Dec 10 11:49:08 2007, pmichaud wrote: >> > >> > When an NQP program uses a variable that hasn't been >> > previously declared, it should report a useful error messag

Re: [perl #60922] Parrot doesn't distinguish hash access from array access in matches

2008-12-01 Thread Patrick R. Michaud
Just a note that I expect we will fix this when we implement slicing and the postcircumfix: methods. Pm

Re: [perl #36330] [TODO] Create a BigNum PMC

2008-12-01 Thread Patrick R. Michaud
On Mon, Dec 01, 2008 at 06:23:31AM -0800, Klaas-Jan Stol via RT wrote: > On Sat Sep 08 10:39:31 2007, bernhard wrote: > > Just for the records, Andy Lester wrote on p2: > > > > bignum.c seems to be entirely unused. Everything builds just fine > > without it. There are many lint errors in it, suc

Re: [perl #45979] [TODO] Use current namespace as base when nested?

2008-12-01 Thread Patrick R. Michaud
On Mon, Dec 01, 2008 at 10:01:24AM -0800, Klaas-Jan Stol via RT wrote: > On Tue Oct 02 10:49:05 2007, pcoch wrote: > > In src/objects.c:parrot_class_register() there is the todo item: > > > > /* XXX nested, use current as base ? */ > > > > Which is referring to namespaces. Make a decision about

Re: [perl #46147] [TODO] Print out more information about the macro in imcc

2008-12-01 Thread Patrick R. Michaud
On Mon, Dec 01, 2008 at 10:07:20AM -0800, Klaas-Jan Stol via RT wrote: > On Sat Oct 06 03:15:12 2007, pcoch wrote: > > In compilers/imcc/main.c:do_pre_process() there is the todo item: > > > > /* TODO: print out more information about the macro */ > > Is having more information about a macro, in

Re: [perl #47966] [DOCS] pdd23 doesn't list exception;death as a standard exception

2008-12-01 Thread Patrick R. Michaud
On Mon, Dec 01, 2008 at 10:09:38AM -0800, Klaas-Jan Stol via RT wrote: > On Sun Nov 30 05:51:34 2008, kjs wrote: > > On Thu Nov 29 11:35:12 2007, pmichaud wrote: > > > In the list of "Standard Parrot Exceptions" in pdd23, there's > > > no item given for "exception;death" even though it's mentioned

[perl #60966] wrong data pass

2008-12-01 Thread via RT
# New Ticket Created by Ruslan # Please include the string: [perl #60966] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=60966 > In this code, result will be 123, but i think that it must be 1. sub test(@test is copy) {

[perl #60962] [BUG] Can't register multi methods (t/spec/S12-methods/multi.t fails)

2008-12-01 Thread mor...@casella.faui2k3.org (via RT)
# New Ticket Created by [EMAIL PROTECTED] # Please include the string: [perl #60962] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=60962 > Rakudo as of r33417 fails t/spec/S12-methods/default-trait.t and t/spec/S12-methods

[perl #60964] racudo hungup after parse

2008-12-01 Thread via RT
# New Ticket Created by Ruslan # Please include the string: [perl #60964] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=60964 > On winXp(SP3) on this test i have racudo hungup:

how to write literals of some Perl 6 types?

2008-12-01 Thread Darren Duncan
Hello, I'm wondering how to write anonymous value literals of some Perl 6 basic types, and I didn't see mention of this in synopsis 2. Now, with some basic types, I know how to do it, examples: Bool # Bool::True Int # 42 or 0x17 or :12 Rat|Num # 18.2 or :8<53.07> or 4/3 Str

Re: [perl #60964] racudo hungup after parse

2008-12-01 Thread ruslan usifov
I'm sorry, that is: sub test(@test is copy, $as) { @test[0] = 123; }; my @test = (1, 2, 3, 4); test(@test); print @test[0]; After that perl6.exe will produce: too few arguments passed (1) - 2 params expected current instr.: 'test' pc 162 (EVAL_13:64) called from Sub '_block11' pc 85 (EVA

[perl #60976] [PATCH] rakudo fails to build AST for subset declaration with regex literal

2008-12-01 Thread gabriele renzi
# New Ticket Created by "gabriele renzi" # Please include the string: [perl #60976] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=60976 > The bug is visibile with the following line subset GenderStr of Str where /^[m|f]$/

Re: S16: chown, chmod

2008-12-01 Thread Martin D Kealey
On Tue, 25 Nov 2008, Dave Whipp wrote: > Brandon S. Allbery KF8NH wrote: > > Still misunderstanding, I think. Yes, it will fail anyway, but in the > > general case you're checking to see if as a privileged process it is safe to > > operate on a given file. > > I'd actually been thinking that one w

Re: how to write literals of some Perl 6 types?

2008-12-01 Thread Carl Mäsak
Darren (>): > Bit > Blob > Set > Bag > Mapping > > How does one write anonymous value literals of those types? And I mean > directly, not by writing a literal of some other type and using a conversion > function to derive the above? Why is the latter method insufficient for your needs? // C

Re: S16: chown, chmod

2008-12-01 Thread Mark Overmeer
* Martin D Kealey ([EMAIL PROTECTED]) [081202 04:37]: > On Tue, 25 Nov 2008, Dave Whipp wrote: > > sub setstat(String|File $filename, StatBuf $stat) { > ... > if $caps.CAP_FOWNER { > # we're privileged, so it *should* just work. > POSIX::chown $filename, $stat.uid, $stat.gid; >