[perl #76742] Mixing into the type object gives LTA error message

2010-07-27 Thread via RT
# New Ticket Created by Moritz Lenz # Please include the string: [perl #76742] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=76742 10:50 moritz_ rakudo: Bool does role { method Str() { $.perl } }; say

[perl #76750] case insensitivity in regex does not descend into quotes

2010-07-27 Thread via RT
# New Ticket Created by Moritz Lenz # Please include the string: [perl #76750] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=76750 14:55 moritz_ rakudo: say 'a' ~~ /:i A/ 14:55 +p6eval rakudo 9808d7: OUTPUT«a␤»

[perl #76746] [BUG] say aborts after expressions

2010-07-27 Thread via RT
# New Ticket Created by herbert breunung # Please include the string: [perl #76746] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=76746 found in rakudo atlanta: in comma seperated syntax of say the messages after

[perl #76744] [TODO] implement :dba adverbs in regexes

2010-07-27 Thread via RT
# New Ticket Created by Moritz Lenz # Please include the string: [perl #76744] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=76744 alpha supported :dba('rule name'), current Rakudo doesn't, but should.

[perl #76758] Function syntax doesn't work on meta operators

2010-07-27 Thread Mark J. Reed
# New Ticket Created by Mark J. Reed # Please include the string: [perl #76758] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=76758 say [+](2..7),8,9 44 That should produce the same thing as this: say

[perl #49171] [META] High priority perl6 tickets

2010-07-27 Thread Will Coleda via RT
High priority issues is now better tracked through Rakudo's ROADMAP file. -- Will Coke Coleda

[perl #63986] Rakudo doesn't fail to accept [-1] (but STD does)

2010-07-27 Thread Will Coleda via RT
On Thu Mar 19 06:28:19 2009, masak wrote: amoc rakudo: my @a = one two; @a[-1] = 'zero'; @a.perl p6eval rakudo f8b6ae: RESULT«[\one\, \two\]» amoc it is a bug, right? masak amoc: [*-1] amoc rakudo: my @a = one two; @a[*-1] = 'zero'; @a.perl p6eval rakudo f8b6ae: RESULT«[\one\, \zero\]»

[perl #65994] Fakexecutable is not working anymore in latest rakudo/parrot

2010-07-27 Thread Will Coleda via RT
On Mon May 25 14:16:52 2009, ahmadz wrote: This does not work anymore on the latest rakudo. fakexecutable.bat perl6 --target=PIR hello.p6 hello.pir parrot\parrot -o hello.pbc hello.pir parrot\pbc_to_exe hello.pbc dir hello.exe perl6 hello.p6 hello.exe output from

Re: Suggested magic for a .. b

2010-07-27 Thread Aaron Sherman
Sorry I haven't responded for so long... much going on in my world. On Mon, Jul 26, 2010 at 11:35 AM, Nicholas Clark n...@ccl4.org wrote: On Tue, Jul 20, 2010 at 07:31:14PM -0400, Aaron Sherman wrote: 2) We deny that a range whose LHS is larger than its RHS makes sense, but we also don't

Re: Suggested magic for a .. b

2010-07-27 Thread Jon Lang
Aaron Sherman wrote: As a special case, perhaps you can treat ranges as special and not as simple iterators. To be honest, I wasn't thinking about the possibility of such special cases, but about iterators in general. You can't generically reverse lazy constructs without running afoul of the

[perl #56700] [PATCH] first pass at interpolated namespaces

2010-07-27 Thread Will Coleda via RT
On Tue Jul 08 10:35:02 2008, jhorwitz wrote: I wanted some feedback on this patch before I apply it. It implements just enough interpolated namespace support for mod_perl6 to work (see S02). In fact, the only supported form is the following subroutine call: ::($ns)::foo() It can

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

2010-07-27 Thread Will Coleda via RT
Rejecting this ticket; This file has gone through a lot of revisions since this ticket was opened, and refactoring is kind of a vague target. -- Will Coke Coleda

[perl #61980] [BUG] Non-ASCII chards don't work with -e one liners

2010-07-27 Thread Will Coleda via RT
On Thu Jun 04 15:44:44 2009, daniel.carr...@theingots.org wrote: The following lines all print funny characters: perl6 -e 'say ü' perl6 -e 'say ñ' perl6 -e 'say é' ... If you put these statements in a file, the characters print correctly. The problem only happens from the terminal.

[perl #62008] .fmt and ~ on hash values differ by a final newline

2010-07-27 Thread Will Coleda via RT
On Tue Jan 06 03:34:42 2009, masak wrote: p6eval rakudo 35017: OUTPUT«1 2␤3 4␤␤» masak rakudo: say {1 = 2, 3 = 4}.fmt(%s\t%s) p6eval rakudo 35017: OUTPUT«1 2␤3 4␤» masak oy! what with the extra newline in the stringification case? * masak submits rakudobug moritz_ where is the

[perl #62274] [TODO] Setting of caller module's $_ via $CALLER::_

2010-07-27 Thread Will Coleda via RT
On Tue Jan 13 01:12:43 2009, masak wrote: Here's a minimal use case. $ cat A.pm use B; say $_; $ cat B.pm $CALLER::_ = 42; $ perl6 A.pm Use of uninitialized value $ I'd like for Rakudo to output 42 when running A.pm. This now generates: Null PMC access in getprop() in 'infix:='

[perl #62362] [BUG] Segfault with t/library/protoobject.t

2010-07-27 Thread Will Coleda via RT
On Wed Jan 14 13:43:52 2009, publiustemp-perl6interna...@yahoo.com wrote: Test output: t/library/protoobject.t . 8/9 # Failed test 'new_subclass with attrs' # at t/library/protoobject.t line 136. # Exited with error code: [SIGNAL 10] # Received: # $a

[perl #62528] Match.keys method returns nothing.

2010-07-27 Thread Will Coleda via RT
On Tue Jan 20 12:58:20 2009, eric256 wrote: use v6; rule test {test}; test ~~ /test/; say '$/.keys = ', $/.keys.perl; say '%($/).keys = ', %($/).keys.perl; # outputs # $/.keys = [] # %($/).keys = [test] Same could be said for .values and .kv It would be very DWIM for it to

[perl #62682] Anomolous match behaviour using $_

2010-07-27 Thread Will Coleda via RT
On Sat Jan 24 00:01:33 2009, richardh wrote: $perl6 $_ = 'abc'; m/(a)/ and say matched $0 Use of uninitialized value matched $_ = 'abc'; $_ ~~ m/(a)/ and say matched $0 matched a $_ = 'abc'; m/x/ and say matched matched Not quite sure what is going on here. I understood that

[perl #63226] [BUG] globals in !UNIT_START set up too late, or statements executed too early

2010-07-27 Thread Will Coleda via RT
On Fri Feb 13 20:46:31 2009, ch...@chrisdolan.net wrote: If you include statements in the body of a package, class, etc. declaration, those are executed at :load time which happens before :main. So, globals like @*ARGS which are set up in ! UNIT_START from :main are not yet established.

[perl #63650] Conflicting sub names and enum values

2010-07-27 Thread Will Coleda via RT
On Wed Mar 04 14:48:16 2009, moritz wrote: Pugs r25693 contains clarification on what should happen when a short name of an enum value is the same as a sub name. 1438 Like type names, enum names are parsed as standalone tokens 1439 representing scalar values, and don't look for any

[perl #63226] [BUG] globals in !UNIT_START set up too late, or statements executed too early

2010-07-27 Thread Will Coleda via RT
On Tue Jul 27 18:07:28 2010, coke wrote: On Fri Feb 13 20:46:31 2009, ch...@chrisdolan.net wrote: If you include statements in the body of a package, class, etc. declaration, those are executed at :load time which happens before :main. So, globals like @*ARGS which are set up in !

[perl #64032] perl6.exe not functioning on Cygwin

2010-07-27 Thread Will Coleda via RT
On Fri Mar 20 06:32:05 2009, amire80 wrote: `cat build/PARROT_REVISION' : 37414 `./perl6 -v' : This is Rakudo Perl 6, revision 37562 built on parrot 1.0.0-devel for cygwin-thread-multi-64int. This is Cygwin on XP. Parrot from SVN compiled nicely and `make test' was successful. I

[perl #65120] [PATCH] Consistent semantics for slurp and lines subs

2010-07-27 Thread Will Coleda via RT
On Fri Apr 24 15:02:46 2009, ronaldxs wrote: Patch provides semantics for slurp $filehandle consistent with slurp 'filename' and allow slurp by itself to slurp stdin. Also provide consistency with existing lines implementation. Note that according to Dr. Michaud this patch requires a spec

[perl #65272] Dispatch of static method call calls method in child class

2010-07-27 Thread Will Coleda via RT
On Thu Apr 30 06:15:23 2009, arnsholt wrote: The following script gives the ouput A\nB, but the correct output should probably be A\nA. class A { method x { say A; } } class B is A { method x() { say B; } } my B $b .= new; A.HOW.dispatch($b, x);

[perl #66634] [BUG] Null PMC access when rebinding a type from an enum value inside a class in Rakudo

2010-07-27 Thread Will Coleda via RT
On Tue Jun 16 08:57:58 2009, masak wrote: masak rakudo: class A { enum B c d e; ::c = B::c }; say A::c p6eval rakudo ba09b2: OUTPUT«Null PMC access in getprop() [...] * masak submits rakudobug pmichaud masak: ::c is lexically scoped. masak pmichaud: meaning it can't be seen? pmichaud

[perl #66650] [BUG] Null PMC access when accessing a value of an enum renamed with a 'constant' declaration in Rakudo

2010-07-27 Thread Will Coleda via RT
On Tue Jun 16 15:15:51 2009, masak wrote: masak rakudo: enum A::B c d e; constant B = A::B; say B::c p6eval rakudo 952fe6: OUTPUT«Null PMC access in invoke() [...] * masak submits rakudobug 21:42 [Coke] rakudo: enum A::B c d e; constant B = A::B; say B::c 21:42 +p6eval rakudo 7f5c22:

[perl #66820] Null PMC access in find_method() while accessing bound return value from gather/take

2010-07-27 Thread Will Coleda via RT
On Sun Jun 21 11:24:57 2009, moritz wrote: $ perl6 -e 'my @a := gather { for 1..3 { take $_; say @a.perl } }; say @a.perl' Null PMC access in find_method() in Main (unknown:1) I don't know if you need laziness to get that working... Moritz 21:43 [Coke] rakudo: my @a := gather { for

[perl #76664] [BUG] Null PMC access involving reverse causality when calling a method with s/// syntax in it in Rakudo

2010-07-27 Thread Will Coleda via RT
On Thu Jul 22 09:58:56 2010, masak wrote: masak rakudo: class A { method pack($_) { s/c// }}; A.new.pack(ccc) # discovered by cono++ p6eval rakudo 220b67: OUTPUT«Null PMC access in find_method('new') [...] * masak submits rakudobug Remove the s/c//, and everything works. Remove .pack(ccc),

[perl #70335] [PATCH] make dollar-bang contextual

2010-07-27 Thread Will Coleda via RT
On Sun Nov 08 11:40:30 2009, markmont wrote: Patch to make die and eval treat $! as a contextual variable. This patch does not solve any reported problem, it's cleanup work suggested by jnthn++ during discussion of the patch for RT #70011. Thanks to pmichaud++, jnthn++ for several rounds

[perl #67890] [PATCH] Two patches for the Perl6 compiler

2010-07-27 Thread Will Coleda via RT
On Sat Jul 25 17:20:40 2009, hoelzro wrote: See the patches' summaries for details. Sorry for the delay in responding, but these patches no longer apply cleanly. Can you rebase them and resubmit for consideration? I'll leave the ticket open for a little while. Thanks! -- Will Coke Coleda

[perl #76720] [PATCH] support non-numeric args to rhs of xx

2010-07-27 Thread Will Coleda via RT
On Sun Jul 25 21:33:01 2010, felliott wrote: Hello, xx hangs if a non-numeric value appears on the right hand side: my @a = b xx monkey; my @c = a b c my @d = e xx @c; Attached is a patch which corrects this while still supporting a Whatever argument like so: my @f = a b c Z (1

[perl #75752] [PATCH] make realclean before svn update (parrot)

2010-07-27 Thread Will Coleda via RT
On Tue Jun 15 00:11:43 2010, q...@cono.org.ua wrote: perl Configure.pl --gen-parrot failed time to time. Need to do realclean before update. diff --git a/build/gen_parrot.pl b/build/gen_parrot.pl index 63173a3..572f474 100644 --- a/build/gen_parrot.pl +++ b/build/gen_parrot.pl @@ -43,12

[perl #76720] tests available

2010-07-27 Thread kyleha
This is an automatically generated mail to inform you that tests are now available in at least one of these files: t/spec/S03-operators/repeat.t, t/spec/S05-transliteration/trans.t commit 18fcacf48d808b2d537a70a922bb6620fb4ecfe1 Author: felliott felli...@c213334d-75ef-0310-aa23-eaa082d1ae64

[perl #67808] [BUG] Use of uninitialized value should at least report line number

2010-07-27 Thread Will Coleda via RT
On Thu Jul 23 04:29:17 2009, t...@cs.utah.edu wrote: 05:22 tewk rakudo Use of uninitialized value 05:23 tewk Any way I can find out what the value is? 05:23 @moritz_ don't think so :( 05:24 @moritz_ it should at least include a line number... care to open a ticket for that? I tried to

[perl #68774] Calling method in Multi dies with internal parrot error

2010-07-27 Thread Will Coleda via RT
On Tue Aug 25 06:15:37 2009, druoso wrote: ru...@cajueiro:~/devel/perl6/parrot/rakudo$ ./perl6 my $a = Multi.new; $a.push(sub (1,2,3) { }); $a.push(sub (1,2) { }); say $a.find_possible_candidates(1,2); Attributes of type 'MMD_Cache *' cannot be subclassed from a high-level PMC. in Main

[perl #71362] [BUG] Parrot string indexing semantics leaks through when accessing $1 et al. when $/ contains a Str in Rakudo

2010-07-27 Thread Will Coleda via RT
On Wed Dec 16 07:03:22 2009, masak wrote: masak rakudo: $/ = abc; say $1 p6eval rakudo 55f51d: b␤ masak hihi. * masak submits rakudobug pmichaud rakudo: my $a = 'abc'; say $a[1]; p6eval rakudo 55f51d: Method 'postcircumfix:[ ]' not found for invocant of class 'Str' [...] pmichaud heh

[perl #72694] [BUG] Internal Parrot error when declaring role A[SomethingUndefined] in Rakudo

2010-07-27 Thread Will Coleda via RT
On Wed Feb 10 05:48:05 2010, masak wrote: masak rakudo: role A[B] {} p6eval rakudo 1d4928: OUTPUT«set_pmc_keyed() not implemented in class 'Integer' [...] * masak submits rakudobug Should probably error out, but not die. et voila: 22:13 [Coke] rakudo: role A[B] {} 22:13 +p6eval rakudo

[perl #73140] [BUG] Null PMC access when calling PARROT on a module declaration in Rakudo

2010-07-27 Thread Will Coleda via RT
On Fri Feb 26 08:14:34 2010, masak wrote: diakopter rakudo: say PARROT(module foo {}) p6eval rakudo 4fc3af: OUTPUT«Null PMC access in isa()␤current instr.: [...] * masak submits rakudobug 22:14 [Coke] rakudo: say PARROT(module foo {}) 22:14 +p6eval rakudo 7f5c22: OUTPUT«Parcel␤» assigning

[perl #74640] [BUG] Internal Parrot error when parsing a number in scientific notation with very many decimals in Rakudo

2010-07-27 Thread Will Coleda via RT
On Sat Apr 24 12:55:39 2010, masak wrote: moritz_ rakudo: 3.14159265358979323846264338327950288419716939937510e0 p6eval rakudo 06fe9a: OUTPUT«Multiple Dispatch: No suitable candidate found for 'multiply_float', with signature 'PNP-P' [...] masak I s'pose that's a known, reported bug? moritz_

[perl #73160] [BUG] [WEIRD] Rakudo can't parse 'my$my.say' (but STD.pm can)

2010-07-27 Thread Will Coleda via RT
On Sat Feb 27 06:14:55 2010, masak wrote: masak std: my$my p6eval std 29873: OUTPUT«ok 00:01 105m␤» masak rakudo: my$my jnthn wtf does it parse that as? p6eval rakudo c83cf2: ( no output ) jnthn eww! masak it works. masak std: my$my.say jnthn Yeah, I think I know why too. p6eval std

[perl #69498] [BUG] Null PMC access when calling routines with forward-referring parameters (which shouldn't compile in the first place) in Rakudo

2010-07-27 Thread Will Coleda via RT
On Wed Sep 30 06:50:05 2009, masak wrote: masak rakudo: sub foo($a = $default, :$default = 42) {}; say alive p6eval rakudo c8181a: OUTPUT«alive␤» masak std: sub foo($a = $default, :$default = 42) {} p6eval std 28514: OUTPUT«ok 00:02 104m␤» masak rakudo: sub foo($a = $default, :$default = 42)

[perl #74640] [BUG] Internal Parrot error when parsing a number in scientific notation with very many decimals in Rakudo

2010-07-27 Thread Will Coleda via RT
On Tue Jul 27 19:17:07 2010, coke wrote: On Sat Apr 24 12:55:39 2010, masak wrote: moritz_ rakudo: 3.14159265358979323846264338327950288419716939937510e0 p6eval rakudo 06fe9a: OUTPUT«Multiple Dispatch: No suitable candidate found for 'multiply_float', with signature 'PNP-P' [...] masak I

[perl #71466] [BUG] Null PMC access when pair colon syntax in a Cloop refers to an attribute in Rakudo

2010-07-27 Thread Will Coleda via RT
On Sun Dec 20 09:56:55 2009, masak wrote: masak rakudo: class A { has $!to; method x { loop { (:$!to); } } } p6eval rakudo 8dc189: The opcode 'getattribute_p_ic_sc' (getattribute3) was not found. Check the type and number of the arguments [...] * masak submits horrible rakudobug The name

[perl #71260] [BUG] Null PMC access when calling method on undeclared class whose namespace 'children' have been declared

2010-07-27 Thread Will Coleda via RT
On Mon Dec 14 05:27:15 2009, masak wrote: This be Rakudo 7ef386. $ perl6 -e 'class A::B {}; A.foo' invoke() not implemented in class 'NameSpace' [...] $ cat A/B.pm class A::B { } $ perl6 -e 'use A::B; A.foo' Null PMC access in getprop() [...] Looks like we get Perl 6 errors now

[perl #69760] [BUG] LTA error when post-declaring a grammar

2010-07-27 Thread Will Coleda via RT
On Wed Oct 14 04:38:25 2009, carlin wrote: [00:19] carlinrakudo: class Foo { method bar { Quux.parse('OH HAI'); } }; grammar Quux { rule TOP { .* } }; Foo.bar; [00:19] p6eval-rakudo 54cfe4: OUTPUT«invoke() not implemented in class 'Capture'␤in Main (file

[perl #69316] [BUG] Null PMC access when trying to initialize a nested class from the constructor of the outer class in Rakudo

2010-07-27 Thread Will Coleda via RT
On Wed Sep 23 04:39:28 2009, masak wrote: masak rakudo: class Forest { class Frog { method speak { say ribbit ribbit } }; has Frog $.frog; method new() { my Frog $frog .= new; self.bless(*, :$frog) } }; Forest.new p6eval rakudo 0eaf62: OUTPUT«Null PMC access in type()␤in method Forest::new

[perl #69178] [BUG] Null PMC access when definedness of placeholder parameter is evaluated inside 'repeat while' block in Rakudo

2010-07-27 Thread Will Coleda via RT
On Wed Sep 16 14:51:47 2009, masak wrote: masak I smell a Null PMC access in the Force... masak rakudo: repeat while True {} p6eval rakudo 446d49: ( no output ) masak rakudo: my $a = 1; repeat while $a 10 { $^a.defined.say; } p6eval rakudo 446d49: OUTPUT«Null PMC access in find_method() *

[perl #67942] 'enum Foo %h' calls sub h() and then throws Null PMC access

2010-07-27 Thread Will Coleda via RT
On Mon Jul 27 11:24:12 2009, moritz wrote: 20:21 @jnthn rakudo: my %h; sub h { say srsly wtf }; enum Foo %h; 20:21 p6eval rakudo 4c31fb: OUTPUT«srsly wtf␤Null PMC access in get_number()␤in Main (/tmp/RYyqcc1SKd:2)␤» Neither should h() be called, nor should we see a Null PMC

Re: Suggested magic for a .. b

2010-07-27 Thread Michael Zedeler
On 2010-07-27 23:50, Aaron Sherman wrote: PS: On a really abstract note, requiring that ($a .. $b).reverse be lazy will put new constraints on the right hand side parameter. Previously, it didn't have to have a value of its own, it just had to be comparable to other values. for example: for

Re: [perl #76720] [PATCH] support non-numeric args to rhs of xx

2010-07-27 Thread Fitz Elliott
On Jul 27, 2010, at 9:56 PM, Will Coleda via RT wrote: Looks like this patch was already applied, the samples here seem to work. However, I cannot find this RT or appropriate tests in S03-operators/repeat.t ; assigning to moritz for spectesting. Sorry, I forgot to document the bug