[perl #64708] [PATCH] Implemented the slurp method to be invoked on Str file names

2011-10-03 Thread Will Coleda via RT
On Mon Apr 13 17:10:03 2009, nelo.ony...@googlemail.com wrote: > Hi all, > > I hope this PATCH is correct. A couple of issues came up whilst I was > working on this: > > > Shouldn't we be able to return from within the try block? >According to http://www.rakudo.org/status these already work

[perl #78036] Deaths say line but not file

2011-10-03 Thread Will Coleda via RT
On Fri Sep 24 15:02:44 2010, mfollett wrote: > When I attempt to run a script that dies it gives me the line it >happens on but not the name of the file it is happening in. See >below for details. I haven't yet found where this error is >happening so I can't give a simpler case than t

[perl #76882] method reference causes Null PMC

2011-10-03 Thread Will Coleda via RT
On Sat Jul 31 14:20:52 2010, wenzel.peppme...@gmx.de wrote: > use v6; > > class A { >method b(){ say 'butterfly'; }; > }; > > my $a = A.new(); > my $method_ref = $a.^can('b'); > $method_ref($a); > > sub foo($o, $m){ >$m($o); > }; > > foo($a, $method_ref); > > -- > > butterfly > Null P

[perl #76884] [BUG] Null PMC access on grammar match object

2011-10-03 Thread Will Coleda via RT
On Sat Jul 31 16:36:28 2010, tadzi...@gmail.com wrote: > The following code: > > grammar grr { > token TOP { > * > } > token line { .* \n } > } > > my $match = grr.parse('foo bar asd'); > unless $match { > die 'oh noes!' > } > say $match

[perl #77138] [BUG] subset attempt fails with Null PMC access

2011-10-03 Thread Will Coleda via RT
On Tue Aug 10 08:01:59 2010, Solomon wrote: > colomon: star: subset ComplexNumeric of Numeric where { ($_ ~~ Real) > || ($_ ~~ Complex) }; my ComplexNumeric $x = 1; say $x.perl; $x = 1i; > say $x.perl > > star 2010.07: OUTPUT«Null PMC access in invoke()␤ in 'ACCEPTS' at > line 1␤ in '&infix:<=>'

[perl #70007] Referring to non-existent captures causes Null PMC Access

2011-10-03 Thread Will Coleda via RT
On Sun Oct 25 08:08:11 2009, moritz wrote: > 16:06 <@moritz_> rakudo: say 'aa' ~~ /(.)$1/; say $0.to > 16:06 <+p6eval> rakudo 49e62f: OUTPUT�Null PMC access in get_string()?in > Main > (file src/gen_setting.pm, line 295)?� > > $1 doesn't exist, but this is clearly a less-than-awes

[perl #75640] calling nextsame in an proto causes a Null PMC Access

2011-10-03 Thread Will Coleda via RT
On Wed Jun 09 10:50:59 2010, moritz wrote: > proto sub a($x) is export { say "in proto"; nextsame } > sub a(Str $x) { say "Str $x" }; > sub a(Int $x) { say "Int $x" }; > > a([]); > > causes > > in proto > Null PMC access in clone() > in 'a' at line 1 > in main program body at line 5:Foo.pm >

[perl #74912] '++++$x' should die with error message

2011-10-03 Thread Will Coleda via RT
On Wed May 05 02:12:50 2010, jimmy wrote: > > rakudo: my $x =3; say $x > > rakudo 1eef08: OUTPUT«5␤» > > > rakudo: my $a = 2; $a.say; > > > rakudo 1eef08: OUTPUT«Cannot assign to readonly value␤current > instr.: '&die' pc 17868 (src/builtins/Junction.pir:393)␤» > > moritz_> it should d

[perl #76830] [BUG] misleading error message for 'our Str a'

2011-10-03 Thread Will Coleda via RT
On Fri Jul 30 06:34:10 2010, cognominal wrote: > $ perl 6 > > our Str a > In "our" declaration, typename Str must be predeclared (or marked as > declarative with :: prefix) at line 1, near " a\n" > Here's what STD has to say: 14:25 <+p6eval> std 8b331d2: OUTPUT«===SORRY!===␤Multiple prefix const

[perl #100552] Recursion depth exceeded in x operator

2011-10-03 Thread via RT
# New Ticket Created by Ira Byerly # Please include the string: [perl #100552] # in the subject line of all future correspondence about this issue. # https://rt.perl.org:443/rt3/Ticket/Display.html?id=100552 > Hi, I was trying to figure out why the first example in Chapter 3 of Using Perl 6