On Tue Nov 10 07:55:06 2015, pesc...@gmail.com wrote:
> On Sat Feb 22 17:37:47 2014, coke wrote:
> > On Fri Apr 16 01:31:22 2010, masak wrote:
> > > rakudo: multi foo(Int $x is rw) { say "writable" }; multi
> > > foo(Int $x) { "readonly" }; foo(42)
> > > rakudo 78faa0: OUTPUT«Ambiguous dispatch t
On Sat Apr 24 15:08:08 2010, masak wrote:
> rakudo: class A { multi method foo($a) { "general" }; multi
> submethod foo(Str $a) { "specific" } }; class B is A {}; say
> .new.foo("OH HAI") for A, B
> rakudo 55a62a: OUTPUT«specificspecific»
> should be "specific\ngeneral\n".
> (since submethods
On Mon Aug 10 17:19:45 2015, alex.jakime...@gmail.com wrote:
> Code:
> sub foo { say 'X' };
> &foo.wrap:{ callsame; callsame; callsame };
> foo;
>
> Result:
> X
>
> I expected this:
> X
> X
> X
>
Then you expected wrong. Discussion here:
http://irclog.perlgeek.de/perl6/2015-11-12#i_11527573
Th
On Sun Feb 02 13:28:22 2014, masak wrote:
> TimToady: ok, now I'm backlogging. I see a lot of trying stuff
> out, but any bug is lost in the noise.
> TimToady: do you think you could rebase the bug on the
> present? ;)
> r: class A { submethod BUILD(:$!v){ }; has $.v; method
> new(*%_) { say 'OH
On Sat Aug 29 03:18:43 2015, coke wrote:
> On Thu Aug 21 13:12:32 2014, coke wrote:
> > On Thu Jun 07 13:07:46 2012, kristofbogae...@gmail.com wrote:
> > > p6: sub s_s(*%n) { %n>>.say }; s_s(|{:assoc}, :assoc);
> > > #
> > > which one is correct?
> > > rakudo e75a0a: OUTPUT«duplicate named argumen
On Mon Jun 29 13:58:37 2015, barto...@gmx.de wrote:
> This works now on rakudo.jvm. On rakudo.moar 'foo(|%h, a => "c")'
> doesn't give the correct result, yet:
>
> $ perl6-j -e 'sub foo(*%p) { say %p.perl }; foo(a => "b", a => "c")'
> {:a("c")}<>
>
> $ perl6-j -e 'sub foo(*%p) { say %p.perl }; my
On Thu Jun 06 09:00:54 2013, elizabeth wrote:
> [10:41:11] r: module Foo { module Bar { say $?PACKAGE }
> } # shouldn't this need to say (Foo::Bar) ???
> [10:41:12] <+camelia>rakudo b2072f: OUTPUT«(Bar)»
> [10:53:53] TimToady: do you have an opinion on "module
> Foo { module Bar {
On Fri Nov 13 09:05:08 2015, jn...@jnthn.net wrote:
> This ticket did uncover that there isn't a way to actually do what you
> wanted, though, so we have nextcallee, which does. I've added a test
> for that in S12-methods/defer-call.t. The remaining open question I've
> asked (waiting for answer) i
On Sat Jan 03 08:12:50 2015, barto...@gmx.de wrote:
> Nowadays @a[10] in a signature is parsed as a shaped array (and gives
> a fitting error message since shape declaration is NYI):
>
> $ perl6 -e 'sub foo(@a[10]) { }'
> ===SORRY!=== Error while compiling -e
> Shape declaration is not yet impleme
On Wed Aug 07 08:51:34 2013, masak wrote:
> I've never put it down into words, but I'm disappointed at
> where we ended up with things like $obj.*method()
> it turns out that there are two axes along which there can be
> "several methods": the mro axis and the multi axis.
> the .* syntax picked
On Wed Dec 03 06:50:20 2014, coke wrote:
> On Tue Dec 02 07:03:30 2014, sml...@gmail.com wrote:
> > It works on Parrot, but on Moar it dies:
> >
> > m: say $*OUT.t
> > rakudo-moar 91d899: OUTPUT«Cannot find method 'isatty': no
> > method cache and no .^find_method in method t at src/gen/m-
> >
On Sat Aug 29 03:41:10 2015, coke wrote:
> On Sun Mar 08 07:10:57 2015, masak wrote:
> > m: class Foo:D {}; say Foo.new
> > rakudo-moar 459c63: OUTPUT«Foo.new()»
> > * masak submits rakudobug
> > (the bug being that that `:D` is allowed on a class declaration)
>
> More data:
>
> 06:40 < [Coke
On Tue May 29 12:02:02 2012, diakopter wrote:
> Well, it now outputs:
>
> 14:01 r: https://gist.github.com/2830046
> 14:01 rakudo e2d876: OUTPUT«===SORRY!===Shaped variable
> declarations not yet
>implemented. Sorry. at /tmp/0vgPqDbaIV:1»
Shaped arrays, both object and nativ
On Thu Nov 15 05:08:56 2012, bbkr wrote:
> 2012.10 - still broken
>
> $ perl6 -e 'enum X ; say a ~~ Int; say True ~~ Int'
> True
> False
Fixed now; nine++ did the majority of the hard work, and I cleaned up the last
few issues just now and merged the work and spectest updates, including
coverag
On Tue May 04 13:49:19 2010, masak wrote:
> the lack of an argument counts as narrower than a slurpy.
> but what about a single optional?
> rakudo: multi foo() { say "OH HAI" }; multi foo(Int $a?) {};
> multi foo(Str $a?) {}; foo
> rakudo 1eef08: OUTPUT«Ambiguous dispatch to multi 'foo'.
> Ambi
On Thu May 14 12:49:54 2015, tony.od...@live.com wrote:
> CODE:
> -
> my $promise = start { sleep 1; $*E.say;};
> my $*E = 5;
> await $promise;
> -
> EXPECTED:
> -
> 5--
On Wed Jul 15 21:09:12 2015, r...@hoelz.ro wrote:
> See the attached file.
>
> The code in the attached file should make some indication that
> something in the code called provided to Supply.tap is going wrong,
> but the execution completes silently.
The exceptions got lost due to a thinko in th
On Mon Dec 22 06:37:08 2014, moritz wrote:
> moritz> m: my $s = Supply.new; $s.tap(&say); $s.done; $s.emit('still here')
> camelia> rakudo-moar 284c09: OUTPUT«still here»
>
> This is likely a bug; .done should either shut down the supply (and so
> forbid future .emit calls), or at least throw ou
On Mon Nov 05 09:39:33 2012, masak wrote:
> module foo; sub foo() { say "OH HAI" }; foo; foo()
> In this one, foo() parses as a coercion.
> jnthn: oh!
> * masak adds that to the appropriate rakudobug
> Anyway, it's right it doesn't call the sub. Just an LTA error I
> guess...though I ain't imm
On Thu Jun 28 14:04:34 2012, sirrob...@gmail.com wrote:
> From #perl6:
>
> 16:53 < moritz> r: module A { enum Day is export ; sub Day is
> export { 'sub Day' } }; import A; say Day(0);
> 16:53 <+p6eval> rakudo 39087a: OUTPUT«Mon»
>
>
> In my opinion, priority should go to the sub, for what it's
On Tue Jun 30 01:02:15 2015, liu...@360.cn wrote:
> https://gist.github.com/anonymous/79a7e59cf3160f6ac09e
>
> 07:31 kanlrepeating a previous question, is it by design or a
> bug that Proc::Async stdout does not tap output in its entirety? ( i
> thought it's neither )
> 07:32 moritz kanl:
On Mon Aug 04 02:02:35 2014, elizabeth wrote:
> On 04 Aug 2014, at 01:58, Will Coleda via RT follo...@perl.org> wrote:
> > On Thu Jul 17 11:06:20 2014, FROGGS.de wrote:
> >> perl6-m t/spec/S32-io/IO-Socket-Async.t
> >> 1..6
> >> ok 1 - Async listen on bogus hostname
> >> ok 2 - Async connect to un
On Thu Jan 10 04:43:32 2013, moritz wrote:
> On Sat Jan 05 01:10:17 2013, FROGGS.de wrote:
> > So if somebody doesnt know the chunk size, (s)he will be unable to use
> > read() at all. _If_ you know the chunk size you can say:
> >
> > last if $data < $chunk-size
>
> If one doesn't know how much
On Fri Oct 09 16:51:39 2015, tokuhirom wrote:
> When I'm implementing a http client, I need to read 1 packet data
> without expecting size. In socket programming context, this case is
> generic requirement.
>
This is what recv does.
> In rakudo's src/core/IO/Socket.pm. It calls nqp::readfh.
>
>
Hi,
I wrote these issues up in a gist:
https://gist.github.com/jnthn/9d8b2e22882d7f7a871e
They got some discussion on channel, and the decisions implemented.
On Wed Mar 04 01:08:29 2015, moritz wrote:
> On 27.02.2015 23:57, Elizabeth Mattijsen wrote:
> >> On 27 Feb 2015, at 17:24, Moritz Lenz (
On Sun Oct 11 03:11:45 2015, n...@detonation.org wrote:
> The endless loop is a bootstrap issue. It starts with routine_def:
> if $ {
> # Protect with try; won't work when declaring the initial
> # trait_mod proto in CORE.setting!
> try $*W.apply_trait($/
On Sun Feb 08 01:22:03 2015, rayd...@cyberuniverses.com wrote:
> ...
> 06:11:09 TimToady | hmm
> 06:11:42 TimToady | m: class Foo { has @.bar }; say Foo.new( bar =>
> [1,2,3] ).bar.elems
> 06:11:43 +camelia | rakudo-moar d26211: OUTPUT«3»
> 06:12:20 TimToady | but apparently loses the item
On Sun Nov 29 02:54:14 2015, pesc...@gmail.com wrote:
> On Fri Sep 04 09:13:10 2015, masak wrote:
> > m: sub foo( Str &b:(Bool --> Int) ) { say "alive" };
> > foo( sub (Bool) { 42 } )
> > rakudo-moar e6f360: OUTPUT«Type check failed in binding &b;
> > expected 'Callable[Str]' but got 'Sub' in s
On Thu Apr 16 09:50:05 2015, elizabeth wrote:
> Slicing handles ranges differently from lists, even if the range is
> not infinite.
>
>
> my @a;
> say @a[0,1].perl;# (Any,Any)
> say @a[^2].perl; # ()
>
>
> This becomes even more troublesome when used as a left value:
>
> @a[0,1] = 42,4
On Wed Feb 04 18:18:09 2015, masak wrote:
> m: for ^5 { .say; NEXT { return } }
> rakudo-moar 613c0b: OUTPUT«01234»
> that last one, besides wrongly compiling (IMO), did not have
> the wrong runtime semantics I expected it to.
> m: say "A"; return; say "B"
> rakudo-moar 613c0b: OUTPUT«A»
On Wed Feb 04 17:58:57 2015, masak wrote:
> m: for ^5 { .say; NEXT { last } }
> rakudo-moar 613c0b: OUTPUT«01234»
> bug?
> * masak submits rakudobug for `last` in a `NEXT` not exiting the for loop
> m: my $c = 3; while $c { say $c--; NEXT { last } };
> rakudo-moar 613c0b: OUTPUT«321»
On Sun Feb 02 11:20:48 2014, m...@kli.org wrote:
> perl6: my $i=0; while $i < 6 { FIRST { say "Here"; last }; say
> $i++ }
> rakudo-moar 535d91: OUTPUT«012345»
> ..niecza v24-109-g48a8de3:
> OUTPUT«[31m===[0mSORRY![31m===[0mAction method
> statement_prefix:FIRST not
> yet implemented
On Mon Jun 15 06:12:13 2015, mt1...@gmail.com wrote:
> On 06/13/2015 04:06 PM, Elizabeth Mattijsen (via RT) wrote:
>
> Hi,
> May I react on this? Would it be easier to have perl6 throw an error
> when there is a named parameter in the call while it isn't defined in
> the method. Something like
On Tue Jul 07 13:44:33 2015, voegelas wrote:
> On Mon Dec 29 10:32:42 2014, r...@hoelz.ro wrote:
> > See also https://rt.perl.org/Ticket/Display.html?id=123515
>
> The attached script demonstrates the busy waiting. The script also
> leaks memory. In the output of top(1) the CPU is always at 100% a
On Sun Mar 08 07:02:33 2015, sml...@gmail.com wrote:
> In current Rakudo, the 'is cached' trait for routines compares
> incoming argument lists by their .gist representation. This was
> probably done as a temporary work-around, and is not a satisfactory
> solution because:
>
> * .gist elides infor
On Fri Jul 31 13:09:04 2015, alex.jakime...@gmail.com wrote:
> Code:
> role A { };
> role B does A { };
> B.new.^roles.say;
>
> Result:
> (B)
>
> As skids points out, the expected result should be "(A) (B)" or "(B::A)
> (B)".
>
We used to, by default, give the non-transitive view of the done ro
On Sat Oct 17 06:05:10 2015, r...@hoelz.ro wrote:
> Possibly related to #125782.
>
> If you run this code:
>
> Supply.interval(1).tap(-> { say 'hi' });
> sleep 5;
>
> ...you get no input, because the block provided to tap is argless.
> The signature verification failure is silently swallowed.
F
On Sun Oct 25 17:25:56 2015, zengargo...@gmail.com wrote:
> This is perl6 version 2015.10-16-g2f4bfd8 built on MoarVM version
> 2015.10
>
> https://gist.github.com/zengargoyle/5324c93684d6f5a376a3
>
> for 1,1,2,2 -> $num, $value {
>... stuff ...
> loop {
> earliest $channel {
> more * {
On Sun Nov 01 17:37:23 2015, zengargo...@gmail.com wrote:
> No gist for this, simple:
>
> 17:29 < zengargoyle> m: my $x = True; while $x { FIRST { say "first"
> }; LAST { say "last" }; $x = False; }
> 17:29 <+camelia> rakudo-moar 1051fc: OUTPUT«last»
>
> FIRST phaser does not fire in a while loo
On Fri Nov 06 15:10:05 2015, rayd...@cyberuniverses.com wrote:
> calling multis in the same class with .* doesn't work:
> 22:10 raydiak m: class C { multi method m () { "A" }; multi method m
> () { "B" } }; C.*m
> 22:10 camelia rakudo-moar 5fda5d: OUTPUT«Ambiguous call to 'm';
> these signature
On Fri Nov 13 09:53:04 2015, alex.jakime...@gmail.com wrote:
> Code:
> fail; say 'hello'
>
> Or this code:
> …; say 'hello'
>
> Result:
> no output
>
>
> Which was noticed when I did this accidentally:
> my @a = 1, 2 …… *; say 'hello';
>
>
> shouldn't be throwing that away
>
> Yeah, perhaps
On Sun Nov 22 10:58:57 2015, b...@abrij.org wrote:
>
> This is a regression since star09 which make Grammar more tedious to
> subclass.
>
> (01:52:42 PM) skids: m: grammar foo { rule TOP { . } };
> foo.parse("foo",:subclass_arg_to_ignore)
> (01:53:02 PM) camelia: rakudo-moar : OUTPUT«Unexpected
On Fri Oct 30 19:08:56 2015, zengargo...@gmail.com wrote:
> Tests at:
> https://gist.github.com/zengargoyle/5ba20a3c5799327b44d0
>
> my %h{Any};
> my $i = (1,2,3);
> %h{$i} = 'foo';
> %h{$i}:exists # (False, False, False)
> %h.EXISTS-KEY($i) # True
>
> :exists causes $I to slice.
Turns out othe
On Tue Nov 17 12:23:28 2015, coke wrote:
> Current situation:
>
> 15:20 < jnthn> m: my $a = 42; say <<$a b c>>;
> 15:20 <+camelia> rakudo-moar 7c6a55: OUTPUT«(42 b c)»
> 15:21 < jnthn> m: my $a = 42; say qqww{$a b c};
> 15:21 <+camelia> rakudo-moar 7c6a55: OUTPUT«(42 b c)»
> 15:21 < jnthn> m: my
On Mon Nov 09 22:21:58 2015, larry wrote:
> 21:25 < TimToady> m: say Iterable === Any
> 21:25 <+camelia> rakudo-moar 2ad739: OUTPUT«Method 'iterator' must be
> implemented by Iterable because it is required by a role in any
> compose_method_table at gen/moar/m-Metamodel.nqp:2661
On Wed Nov 25 02:47:48 2015, mt1...@gmail.com wrote:
> Following code generates 'P6opaque: must compose before allocating'.
>
> package P {
>class Regex {
> has Int $.n;
> submethod BUILD ( Str :$n ) {
>die 'Not that one!!!' if $n ~~ m/^ '666' $/;
>$!n = $n.Int;
>
On Thu Dec 03 18:14:29 2015, alex.jakime...@gmail.com wrote:
> Code:
> my @a[3]; say @a.reverse
>
> Result:
> Cannot reverse a fixed-dimension array
> in block at -e:1
>
>
> It may be more complicated for multi-dimensional arrays, but reversing a
> 1-dimensional is rather straightforward. The
On Wed Oct 21 15:40:57 2015, elizabeth wrote:
> # this internally uses .push-at-least
> $ 6 'my $l = gather { take-rw my $ = 1 }; $l.AT-POS(0) = 42'
> Cannot modify an immutable Int
> in block at -e:1
>
> # this internally uses .pull-one
> $ 6 'my $l = gather { take-rw my $ = 1 }; for @$l { $_
On Tue Sep 29 01:40:18 2015, mt1...@gmail.com wrote:
> On 09/28/2015 06:52 PM, Larry Wall (via RT) wrote:
> > # New Ticket Created by Larry Wall
> > # Please include the string: [perl #126212]
> > # in the subject line of all future correspondence about this issue.
> > # https://rt.perl.org/Ticke
On Mon Nov 02 10:54:27 2015, jns...@gellyfish.co.uk wrote:
> Hi,
> In a number of places in the design documents it is suggested that
> certain functionality on files (e.g. fcntl, ioctl) or sockets (e.g.
> getsockname, setsockopt) should be provided by external modules via
> the NativeCall interfac
Support for UDP has now been added to IO::Socket::Async, and tests covering it
are in S32-io/IO-Socket-Async-UDP.t.
On Sat Oct 31 14:12:36 2015, sml...@gmail.com wrote:
> S07 [https://github.com/perl6/specs/blob/master/S07-lists.pod] claims:
>
> "The single argument rule does respect Scalar containers."
> "The single argument rule is implemented consistently throughout the
> language."
>
> It lists 'for', '.pu
On Sat Nov 07 09:34:18 2015, jns...@gellyfish.co.uk wrote:
> class F:ver {}; say F.^ver;
>
> Method 'gist' not found for invocant of class 'NQPMu'
> in block at -e:1
>
> class F:auth {}; say F.^auth;
>
> Method 'gist' not found for invocant of class 'NQPMu'
> in block at -e:1
>
> They see
On Thu Nov 05 23:02:55 2015, sml...@gmail.com wrote:
> When the LHS expression of xx is a List, the nested structure of the
> result is preserved:
>
> ➜ dd (2, 4, 6) xx 2
> List $var = $((2, 4, 6), (2, 4, 6))
>
> However when the LHS is a Seq returned from .pick or .map or similar,
> the
> resul
On Wed Nov 18 06:24:03 2015, pesc...@gmail.com wrote:
> On Sun Oct 18 04:50:28 2015, n...@detonation.org wrote:
> > 13:49 <+yoleaux> 17 Oct 2015 17:45Z nine: IIRC, it was .clone
> > not being deep enough, but I don't remember exactly either :(
> > 13:49 <+yoleaux> 17 Oct 2015 17:45Z nine: Maybe n
On Wed Oct 14 10:10:14 2015, larry wrote:
> On Wed Oct 14 09:46:18 2015, larry wrote:
> > 09:39 < TimToady> HLL::Compiler is very confused about what is the
> > language
> > name/version vs compiler name/version, and this shows up in both -v
> > and -V
> > 09:40 < TimToady> "This is perl6 version
On Wed Jul 09 10:44:32 2014, elizabeth wrote:
> Sorry, but apart from just quoting the test code, I can’t really
> describe what is wrong with these tests. So I create this ticket to
> be able to refer to it in todo for the failing tests.
>
> t/spec/S06-advanced/wrap.rakudo.moar (Wstat: 0 Tests:
On Thu Nov 12 11:41:16 2015, larry wrote:
> > p6 'my ($a, \b) = 1, 2; say $a; say b;'
> 1
> (Any)
> > p6 'my ($a, \b) := 1, 2; say $a; say b;'
> 1
> (Any)
These two now work. Tests in S04-declarations/my.t.
On Fri Dec 11 09:31:44 2015, na...@cpan.org wrote:
> 64-bit Windows 10.0.10586. 64-bit perl6 on MoarVM built using MS
> Visual Studio 2013 tools. See below for more details.
>
> I noticed[1] that several tests fail if the test script has Unix line
> endings instead of Windows. These tests succeed
On Fri Dec 11 09:31:44 2015, na...@cpan.org wrote:
> 64-bit Windows 10.0.10586. 64-bit perl6 on MoarVM built using MS
> Visual Studio 2013 tools. See below for more details.
>
> I noticed[1] that several tests fail if the test script has Unix line
> endings instead of Windows. These tests succeed
On Fri Nov 20 10:21:26 2015, nicholas wrote:
> MoarVM work towards fixing this bug is on the MoarVM branch sync-without-uv
Having already ran into various "fun" platform inconsistencies working on that
branch, I've concluded that - while I agree this issue wants fixing - it's not
something that
On Sat Aug 30 21:18:35 2014, masak wrote:
> m: class IncList { has @.values; submethod PRE { @!values eqv
> @!values.sort } }; say IncList.new(:values(1, 5, 3))
> rakudo-moar 5f9cd5: OUTPUT«IncList.new(values =>
> Array.new(1, 5, 3))»
> * masak submits NYI rakudobug
> m: say [1, 5, 3] eqv [1, 5
On Thu Aug 27 09:22:02 2015, masak wrote:
> [Coke]: no.
> [Coke]: I think you misunderstood the goal of the ticket.
> [Coke]: the spec said (and still *says*, I think) that the
> *contents* of the array parameter are readonly. that's what the "one
> level down" thing refers to.
> [Coke]: Howeve
On Mon Mar 16 05:09:58 2015, elizabeth wrote:
> my num $a; say $a
> NaN
> my num32 $a; say $a
> 0
> my num64 $a; say $a
> NaN
>
Fixed, and test in S02-types/native.t unfudged. Also added a load of related
tests.
On Mon Apr 13 16:42:11 2015, grond...@yahoo.fr wrote:
> Hello
>
> $ perl6 -e 'say my uint32 $ = 2**32;'
> 4294967296
> $ perl6 -e 'say my uint32 $ = 2**64;'
> 0
> $ perl6 -e 'say my uint32 $ = 2**63;'
> -9223372036854775808
> $ perl6 -e 'say my uint32 $ = 2**62;'
> 4611686018427387904
>
> $ perl6
On Thu Apr 16 06:23:35 2009, masak wrote:
> OH HAI from NPW::2009.
>
> In Rakudo 2c13d6c, the 'handles' instruction on attributes in roles
> don't override those of the class it mixes in.
>
> $ perl6 -e 'class A { method foo { say "OH HAI" }; method aie { say
> "AIE!" } }; role B { has A $.bar ha
On Mon Sep 17 09:34:45 2012, nicholas wrote:
> Well, I don't think that I'm doing anything stupid here, but it's
> always
> a possibility.
>
> Surely if function parameters are readonly *aliases* to the argument
> passed to the function, then they should see modifications made to
> that
> argument
On Thu May 07 02:51:39 2015, FROGGS.de wrote:
> class Foo { has $.x is rw }; class Bar is Foo { }; my Foo $u .=
> new(:5x); say $u.x; $u = Bar.new(Foo{:12x});
> rakudo-moar a34d02: OUTPUT«5Default constructor for 'Bar' only takes
> named arguments in block at /tmp/FrBrn8xOI_:1»
>
> I guess t
On Tue Dec 22 05:30:41 2015, alex.jakime...@gmail.com wrote:
> Code:
> enum Animal (Cat, Dog)
>
> Result:
> ===SORRY!===
> Cannot invoke this object
>
>
> Well, the error message is not so good, but you can say “who is going to do
> that anyway?”. Well, consider this:
>
> Code:
> enum Animal (C
On Mon Jan 11 05:46:19 2016, lloyd.fo...@gmail.com wrote:
> role Foo { has $.foo; }; Foo.^attributes[0].package.^name.say #->$?CLASS
Just to note that this behavior is intentional rather than accidental (or at
least, *I* intended it :-)). Roles undergo generic instantiation at the point
of being
On Tue Jan 05 03:20:59 2016, moritz wrote:
> On Tue Jan 05 02:54:22 2016, gfldex wrote:
> > role R {}; R.^add_method('foo', method (){})
> >
> > # OUTPUT«Method 'add_method' not found for invocant of class
> > 'Perl6::Metamodel::ParametricRoleGroupHOW' in block at
> > /tmp/ORnhrivIvq line 1»
>
On Fri Jan 15 11:56:17 2016, alex.jakime...@gmail.com wrote:
> This bug report is a continuation of
> https://rt.perl.org/Ticket/Display.html?id=127281
>
>
> while we're at it, let's make backtraces print all the arguments
> to all the routines...
> well, the short ones, anyway
>
>
> That wou
On Sun Jan 17 22:29:57 2016, gfldex wrote:
> # https://gist.github.com/b0d44595e0d3b314a09d
>
> # Module.pm6
> unit module Module;
>
> sub EXPORT ($var) {
> { foo => sub () {} }
> }
>
> # use-module.p6
>
> use v6;
> use lib '.';
> use Module 42;
>
> # OUTPUT:
> # Error while importing
On Sat Jan 23 07:08:17 2016, mt1...@gmail.com wrote:
> On 01/21/2016 06:44 PM, mt1957 wrote:
> > On 01/21/2016 06:35 PM, mt1957 (via RT) wrote:
> >> # New Ticket Created by mt1957
> >> # Please include the string: [perl #127340]
> >> # in the subject line of all future correspondence about this i
On Wed Jan 20 10:44:39 2016, elizabeth wrote:
> > On 19 Jan 2016, at 15:05, Peter Pentchev (via RT) > follo...@perl.org> wrote:
> >
> > # New Ticket Created by Peter Pentchev
> > # Please include the string: [perl #127315]
> > # in the subject line of all future correspondence about this issue.
On Fri Feb 12 08:33:56 2016, m...@boris-moebus.de wrote:
> Version
> >>perl -v
> This is Rakudo version 2016.01.1 built on MoarVM version 2016.01
> implementing Perl 6.c.
>
> Behaviour:
> > say so 'abc' ~~ / (\w+) . /;
> True
> > $0
> ?ab?
>
> Should be (last two lines):
> >$0
> ab
>
The behavio
On Sun Feb 28 21:47:37 2016, r...@hoelz.ro wrote:
> I would expect a "last without loop construct" error instead.
It's a read-eval-print-*loop*, so it turns out you actually are in a loop
construct and end up exiting that! :-) We can likely get the behavior you're
after though, which I think mak
On Mon Feb 15 15:31:50 2016, sortiz wrote:
> use NativeCall; class MV is repr('CStruct') { has uint64 $.start;
> method s { if $!start {} } } # Fails
>
> use NativeCall; class MV is repr('CStruct') { has uint64 $.start;
> method s { if +$!start {} } } # This works :/
>
>
> From IRC:
>
> And t
On Fri Mar 04 21:02:59 2016, lloyd.fo...@gmail.com wrote:
> class A { submethod Bool { True } }; say A || "lose" #-> lose
> class A { method Bool { True } }; say A || "lose" #-> # (A)
>
> It looks like we have places where the .^submethod_table is ignored
>
> https://github.com/rakudo/rakudo/blob
On Sun Mar 06 12:18:56 2016, jns...@gellyfish.co.uk wrote:
> The accessor methods that are generated for rw attributes function
> correctly but are not actually marked 'rw':
>
> class F { has $.foo is rw }; say F.^lookup("foo").rw # False
>
> Whereas they did prior to generate_accessor being used
On Sun Feb 28 19:50:40 2016, b...@abrij.org wrote:
> $ perl6 -e 'my $r = Supplier.new; my $s = $r.Supply; my $c =
> $s.Channel; start { for @$c { "got $_".say }; 42.say; }; sleep 0.5;
> for 1..4 { $r.emit($_); sleep 0.5 }; $r.quit(X::AdHoc.new(:message));
> sleep 1;'
> got 1
> got 2
> got 3
> got 4
On Fri Feb 12 13:35:21 2016, larry wrote:
> 10:41 < TimToady> m: say "𢡊"
> 10:41 <+camelia> rakudo-moar 691b39: OUTPUT«(signal SEGV)»
> 10:42 < TimToady> jnthn: ^^ there's another glitch :)
> 10:43 < timotimo> can you also make that with a \x literal, so that i can
> more easily copy-paste it?
> 10
On Thu Jan 14 09:04:47 2016, darek.cidlin...@atlas.cz wrote:
> In large loops, "le" and "ge" operators eventually start to give False
> on equality.
>
> MWE:
> > say ("a" xx 1000).map(+("a" le *)).index(0)
> 414
>
> Expected output:
> Nil
>
> Compiler version (perl6 -v):
> This i
On Fri Mar 25 11:53:59 2016, alex.jakime...@gmail.com wrote:
> Let's start with an example that works:
>
> Code:
> my @a;
> @a[^8] = 5, 6;
> say @a
>
> Result:
> [5 6 (Mu) (Mu) (Mu) (Mu) (Mu) (Mu)]
>
> That's fine. But let's try an infinite range now:
>
> Code:
> my @a;
> @a[^∞] = 5, 6;
> say @
On Sat Nov 28 06:22:27 2015, elizabeth wrote:
> [15:04:37] m: Buf.new(0xFE).decode("utf8-c8") # jnthn
> might find this interesting
> [15:04:38] <+camelia> rakudo-moar 6a45fe: OUTPUT«(signal SEGV)»
> [15:08:24] lizmat: Uh, yes...wtf...
> [15:08:30] lizmat: Please RT it
>
> I t
On Sun Mar 20 06:39:39 2016, elizabeth wrote:
> ==
> my $a = 14;
> while (True) {
> my $z = (2..13).first(-> $x { !($a %% $x) });
> last if (!$z);
> $a += 14
> }
> say $a
> ==
>
> The above code “verbatim” segfaults on OS X and Linux on H
On Sat Jan 09 12:20:11 2016, siavash.askari.n...@gmail.com wrote:
>
> I experienced this problem in this code:
> $_ = "abcdefgh"; say ++$_ until
> /(\w)<{$0.Str.succ}><{$0.Str.succ.succ}>/ and !/i|o|l/ and
> /(\w)$0.*(\w)$1/;
>
> And `/(\w)<{$0.Str.succ}><{$0.Str.succ.succ}>/` regex is causing it
On Sun Apr 10 08:20:19 2016, raiph wrote:
> What I did
> ==
>
> package foo {}
> enum foo
>
> What I expected
> ===
>
> The same redeclaration error I get when I write:
>
> enum foo ;
> package foo {}
>
> # Redeclaration of symbol foo
>
> What I got
> ==
>
> No e
On Sun Apr 17 16:34:02 2016, pesc...@gmail.com wrote:
> Consider the following snippet:
>
> 23:28 < psch> m: role Bar::Foo { }; class A { submethod BUILD { self
> does Bar::Foo } }; A.new.WHAT.say
> 23:28 <+camelia> rakudo-moar 617bb4: OUTPUT«(Foo})»
>
> Clearly, A is not of type 'Foo}'. As far
On Mon Apr 25 07:54:18 2016, sml...@gmail.com wrote:
> That said, two of the edge cases you have discovered, *do* feel pretty
> strange:
>
> - An *empty* RHS list returning self instead of False.
> - A RHS list with a Match as its first element returning self instead
> of False.
>
> It may make s
On Mon Apr 25 06:10:50 2016, sml...@gmail.com wrote:
> The following works fine:
>
> for (^100).race(batch=>1) { {1 + $^a}(10) }
>
> But the following pretty reliably crashes:
>
> for (^100).race(batch=>1) { {1 + $^a}.assuming(10)() }
>
> If even crashes when EVAL is used to make sure each
On Wed May 18 07:56:18 2016, c...@zoffix.com wrote:
> When given a lazy list as the argument, .polymod divides until the
> original number given by the invocant reaches zero. That works when
> the lazy list is infinite, but when it isn't, we lose the final
> remainder. This affects both the Int and
On Sat Jul 02 10:52:22 2016, archb...@gmail.com wrote:
> As discussed here: http://irclog.perlgeek.de/perl6/2016-07-
> 02#i_1277
>
> Behavior in:
> https://gist.github.com/atweiden/9d1dfe825ade18a7db54d8e0733ca2e4
Fixed, and tests added in S06-multi/positional-vs-named.t.
On Tue Jul 05 17:51:46 2016, ug...@cpan.org wrote:
> Note that the final decode-base64 candidate shows the correct results
> when debugging statements are added
>
> This gist also shows a small change that makes it produce the correct
> values but it still segfaults more often than not
> https://g
On Tue Jul 05 17:51:46 2016, ug...@cpan.org wrote:
> Note that the final decode-base64 candidate shows the correct results
> when debugging statements are added
>
> This gist also shows a small change that makes it produce the correct
> values but it still segfaults more often than not
> https://g
On Sat Feb 13 20:08:16 2016, lloyd.fo...@gmail.com wrote:
> sub foo { };
> my $a = anon sub foo { }
>
> ===SORRY!=== Error while compiling -e
> Redeclaration of routine foo
> at -e:1
>
> Since anon is not going to install the symbol in any scope this is a false
> positive. Will fix if I get a cha
On Fri Jul 15 20:09:30 2016, c...@zoffix.com wrote:
> Slightly golfed. The content of the regex character set doesn't
> matter, but avoiding the character set avoids the error as well. The
> :g and :ignoremark must be combined together.
>
> m: "a" ~~ m:g:ignoremark/<[á]>/
> rakudo-moar e2ec35: O
On Sun Mar 20 16:56:04 2016, coke wrote:
> On Sun Mar 20 15:03:37 2016, elizabeth wrote:
> > > On 20 Mar 2016, at 19:17, Will Coleda (via RT) > > follo...@perl.org> wrote:
> > >
> > > # New Ticket Created by Will Coleda
> > > # Please include the string: [perl #127750]
> > > # in the subject lin
On Thu Jan 15 06:36:57 2015, masak wrote:
> since I know a tiny bit about how strings are implemented on
> Moar, I predict that the bug will be tracked down in how string
> repetitions are handled.
It was exactly that. There is a fast path for jumping through strands and
repetitions to the corre
On Wed Jul 20 19:43:32 2016, c...@zoffix.com wrote:
> A bit more investigation:
> * If the string given to `x` is more than 1 character, the bug doesn't
> appear
> * The bug also doesn't seem to be present on JVM backend
>
> m: my $a = '.|' x 4 ~ 'a'; $a.substr-rw(1,1) = ''; say $a
> rakudo-moar
401 - 500 of 778 matches
Mail list logo