On Thu Mar 10 07:23:08 2011, pawel.pab...@implix.com wrote:
> [16:12] rakudo: sub foo; # looks bad, this should be parse
> error, not
> attempt to call foo.
> [16:12] rakudo a38d45: OUTPUT«Could not find sub &foo in
> main
> program body at line 22:/tmp/c10WrR9Dod»
Fixed:
17:22 < [Coke]> rak
On Wed Aug 11 06:13:02 2010, masak wrote:
> rakudo: say :(Int).perl
> rakudo fcf4f3: OUTPUT«:(Int )»
> rakudo: say :(Array of Int).perl
> rakudo fcf4f3: OUTPUT«Method '!select' not found for invocant
> of class '' [...]
> dolmen: new bug?
> masak: don't know. Just experimenting with Signatur
On Thu Oct 07 14:46:24 2010, masak wrote:
> rakudo: my $b; -> $_ is rw = $OUTER::_ { $_ = 5; $b =
> {.say}}(); .say; $_ = 42; $b();
> rakudo 377615: OUTPUT�Null PMC access in getprop() [...]
> * masak submits rakudobug for tylercurtis Null PMC access
> rakudo: -> $_ is rw = $OUTER::_ { $_ = 5 }(
On Wed Jun 09 14:47:30 2010, masak wrote:
> rakudo: my ::&a &a
> rakudo a54677: OUTPUT«===SORRY!===ResizablePMCArray: Can't
> pop from an empty array!»
> :D
> * masak submits rakudobug
> that's a parser compiler problem, I'd guess
> that error usually is.
> std: my ::&a &a
> std 31183: OUT
On Mon Jul 19 05:46:45 2010, salva wrote:
>
> $ ./perl6 -e 'my Int @a; push @a, 5; say @a[0]'
> maximum recursion depth exceeded
> in 'at_pos' at line 5:CORE.setting
> in 'at_pos' at line 7:CORE.setting
> in 'Any::postcircumfix:<[ ]>' at line 1624:CORE.setting
> in 'at_pos' at line 5:CORE
On Sun Oct 31 16:38:58 2010, util wrote:
> On Rakudo Star 2010-10, this code works as expected, outputting "42\n"
> :
> multi sub Bar ( ) { return 42 };
> say Bar();
> This code should give the same output (and *does* on Pugs):
> multi sub Bar ( ) { return 42 };
> multi sub B
On Sat Oct 16 12:53:02 2010, masak wrote:
> rakudo: for ^8 { say .fmt("%03b") }
> rakudo 064702: OUTPUT«000001010011100101110111»
> rakudo: for ^8 { .=fmt("%03b"); .say }
> rakudo 064702: OUTPUT«000Cannot modify readonly value in
> '&infix:<=>' [...]
> bug or not? why does it die on
On Mon Oct 04 13:23:30 2010, masak wrote:
> rakudo: say +Method
> rakudo 2ee5db: OUTPUT«0»
> that seems completely bogus to me
> it prints out the contents of both
> ...no warning?
> * masak submits +Method rakudobug
> rakudo: multi foo() { }; multi foo($x) { }; say +&foo
> rakudo 2ee5db: O
On Mon Oct 04 04:13:15 2010, masak wrote:
> John (>):
> > std seems to complain that the placeholder variables are not valid
here.
> > Maybe we need more clarification on whether this should work or not.
>
> I'm fine with it being forbidden in this case. The ticket concerns the
> presence of a Nu
On Thu Sep 09 06:45:39 2010, masak wrote:
> rakudo: say ::.^methods #
> rakudo 859f2d: OUTPUT«===SORRY!===ResizablePMCArray: Can't
> pop from an empty array!»
> * masak submits rakudobug
> interesting error.
> rakudo: ::
> rakudo 859f2d: OUTPUT«===SORRY!===ResizablePMCArray: Can't
> pop fro
On Thu Sep 09 09:02:22 2010, masak wrote:
> rakudo: say callframe().callframe(1).my.perl
> rakudo 859f2d: OUTPUT«Null PMC access in isa_pmc() in
> '&infix:<=>' at line 1 in 'CallFrame::my' at line 7047:CORE.setting
> [...]
> that isa_pmc NPA is new, I think
> ie it worked when I implemented
On Thu Sep 09 05:32:08 2010, masak wrote:
> rakudo: my @a of Int = (1,2,3); say @a.WHAT
> rakudo 859f2d: OUTPUT«()»
> huh
> * masak submits rakudobug
Fixed.
16:52 < [Coke]> rakudo: my @a of Int = (1,2,3); say @a.WHAT
16:52 <+p6eval> rakudo 88c5a5: OUTPUT«Array()»
Closable with tests.
--
W
On Sat Oct 02 03:23:18 2010, moritz wrote:
> Thanks for the patch, I've applied it.
>
> I'm leaving this ticket open for now, until we've decided what to do
> about the documentation.
Let's either add a Windows section to the main README, or a new
README.win32.
I will happily apply such a patch
On Tue Aug 24 05:26:24 2010, TiMBuS wrote:
> This is just a followup fix to ticket #75584 that pmichaud was going
to do
> but probably forgot about. Previously Parcel's hash method was
delegating to
> sub hash (which is backwards). I flipped it around to fix it.
Whoops! we seem to have missed th
On Mon Nov 22 16:06:07 2010, masak wrote:
> rakudo: sub foo($a, %h?) { bar($a, %h) }; sub bar($a, %h?) {
> say "alive!" }; foo(42)
> rakudo : OUTPUT«Method 'HOW' not found for invocant of class
> 'Hash' in 'bar' at line 1 [...]
> rakudo: sub foo($a, %h?) { say %h.WHAT }; foo(42)
> rakudo : OU
On Tue Aug 17 06:22:55 2010, masak wrote:
> rakudo: class A { method foo { say "OH HAI" } }; class B is A
> {}; class C is A is B {}; say "alive"; C.new.*foo
> rakudo 85602a: OUTPUT«===SORRY!===Could not build C3
> linearization: ambiguous hierarchy»
> * masak submits rakudobug
> it's a good d
On Sat Sep 11 11:18:59 2010, masak wrote:
> rakudo: sub foo(*%p) { say %p.perl }; foo(a => 'b', a => 'c')
> rakudo a93dcb: OUTPUT�duplicate named argument in call [...]
> * masak submits rakudobug
> rakudo: sub foo(*%p) { say %p.perl }; my %h = a => 'b';
> foo(|%h, a => 'c')
> rakudo a93dcb: OU
On Wed Jun 09 06:17:16 2010, masak wrote:
> std: package A {}; my $A::b
> std 31183: OUTPUT«ok 00:01 108m»
> hm.
> rakudo: package A {}; my $A::b = 5
> rakudo a54677: OUTPUT«Null PMC access in getprop() [...]
> * masak submits rakudobug
> rakudo: my $A::b = 5
> rakudo a54677: OUTPUT«Null PM
On Sun Sep 26 08:05:13 2010, moritz wrote:
> works fine directly:
>
> $ cat args.pl
> say @*ARGS.perl;
> say @*ARGS.join('|');
> $ ./perl6 args.pl foo bar 123
> ["foo", "bar", "123"]
> foo|bar|123
>
> # but beware of compilation:
> $ ./perl6 --target=pir args.pl > args.pir
> $ ./parrot_install/bi
On Wed Jun 30 09:21:21 2010, masak wrote:
> rakudo: class A { has $.b; proto method b {} }
> rakudo 806efc: OUTPUT«===SORRY!===A method named 'b'
already
> exists in class 'A'. It may have been supplied by a role.»
> cxreg: that's your error, right?
> right
> I don't think I've seen this ad
On Wed Sep 22 19:09:19 2010, ash_gti wrote:
> $ perl6
> > class A { method a { 1 } }; A.can('a');
> ===SORRY!===
> get_string() not implemented in class 'P6Invocation'
>
>
> It happens whenever you try to Stringify the result of .can, .can is
> probably returning something primitive in parrot.
F
On Sun Sep 19 06:33:09 2010, masak wrote:
> rakudo: my $x = Hash.new(a => 1); $x = 2; say $x.perl
> rakudo ccde8d: OUTPUT«Cannot modify readonly value in
> '&infix:<=>' [...]
> * masak submits rakudobug
> this makes some perverted sense.
> The implementation of hash initialization does indeed
Verified, closing ticket.
--
Will "Coke" Coleda
On Fri Apr 16 01:26:52 2010, masak wrote:
> alpha: class A { my $b; method c { $A::b = 5; say $A::b } };
> A.new.c
> alpha 30e0ed: OUTPUT«5»
> rakudo: class A { my $b; method c { $A::b = 5; say $A::b } };
> A.new.c
> rakudo 78faa0: OUTPUT«Null PMC access in getprop() [...]
> * masak submits ra
On Tue Jul 06 09:19:10 2010, masak wrote:
> std 31559: OUTPUT«ok 00:01 111m»
> I didn't expect that to work :)
> std bug.
> * TimToady bug
> I'm not entirely sure how it parsed...
> oh, morename allows a final :: component, but that's not
> quite what you want here
> std: $defeat-the-name-ch
On Sun Mar 07 08:07:49 2010, masak wrote:
> rakudo: say Perl6::Compiler.compile('say 42').WHAT
> rakudo e9c185: OUTPUT�Null PMC access in find_method('WHAT')
[...]
> * masak submits rakudobug
> rakudo: Perl6::Compiler.compile('say 42').WHAT
> rakudo e9c185: OUTPUT�Null PMC access in find_metho
On Fri Apr 02 04:49:04 2010, masak wrote:
> rakudo: my $a; CHECK { $a = 42 }
> rakudo 63ff06: OUTPUT�Null PMC access in getprop() [...]
> rakudo: my $a; INIT { $a = 42 }
> rakudo 63ff06: OUTPUT�Null PMC access in getprop() [...]
> * masak submits rakudobug
Current behavior:
15:57 < [Coke]> ra
On Fri Apr 02 17:27:56 2010, masak wrote:
> rakudo: say Associative.new{'x'}
> rakudo 3469ff: OUTPUT�get_pmc_keyed() not implemented in
> class '' [...]
> :)
> * masak submits rakudobug
> so, role is good for the vanilla implementation, to allow people
> to not be stupid.
> rakudo: say Positio
chdir still isn't throwing a CATCHable error. It now lives in
src/core/IO.pm
proto sub chdir(|$) { * }
multi sub chdir($path as Str) {
try {
pir::new__PS('OS').chdir($path)
}
$! ?? fail($!) !! True
}
--
Will "Coke" Coleda
On Tue Mar 23 08:11:23 2010, masak wrote:
> rakudo: say ~(my $a)
> rakudo db0f85: OUTPUT«Any()»
> moritz_: were you saying this should generate a warning?
> masak: I think so... the specs are rather quiet on warnings
> * masak submits rakudobug
> Justin Case.
> rakudo: say +(my $a)
> rakudo
On Fri Jul 02 14:29:14 2010, masak wrote:
> Actually, it's smartmatching against a subtype of any role that causes
> a Null PMC access. (Hash is a
> role.)
>
> rakudo: role R {}; subset S of R; 1 ~~ S
> rakudo 3d2cb8: OUTPUT«Null PMC access in invoke() in
> 'ACCEPTS' [...]
15:43 < [Coke]> rak
On Wed Jun 30 07:14:21 2010, bbkr wrote:
> $ perl6 -e 'my ($a is readonly) = 5; say $a; $a = 42; say $a'
> Cannot assign to readonly value
> in '&infix:<=>' at line 1
> in main program body at line 1
>
> So it dies properly now.
>
> But test file is not working due to := not implemented in ea
32 matches
Mail list logo