Re: Possible bug in NativeCall CStruct

2015-06-02 Thread Douglas E. Miles
Thanks FROGGS! I got that to work after updating MoarVM. On 06/02/2015 01:21 PM, Tobias Leich wrote: Hi, when you install latest MoarVM, you can do this: $ perl6 -e 'use NativeCall; class Foo is repr { has str $.bar is rw }; my $foo = Foo.new(bar => "bar"); say $foo; $foo.bar = "baz"; say $foo'

Re: Possible bug in NativeCall CStruct

2015-06-02 Thread Tobias Leich
Hi, when you install latest MoarVM, you can do this: $ perl6 -e 'use NativeCall; class Foo is repr { has str $.bar is rw }; my $foo = Foo.new(bar => "bar"); say $foo; $foo.bar = "baz"; say $foo' Foo.new(bar => "bar") Foo.new(bar => "baz") Note the lowercase str type. The normal Str type can be se

[perl6/specs] 2cd06f: S99: added P6W, spotted in #perl6. Fixed a typo

2015-06-02 Thread GitHub
Branch: refs/heads/master Home: https://github.com/perl6/specs Commit: 2cd06fd900f0a24b684172a5d4ec1557b9598c47 https://github.com/perl6/specs/commit/2cd06fd900f0a24b684172a5d4ec1557b9598c47 Author: Stéphane Payrard Date: 2015-06-02 (Tue, 02 Jun 2015) Changed paths: M S

Possible bug in NativeCall CStruct

2015-06-02 Thread Douglas E. Miles
Hi all! I just started learning Perl 6 about 5 days ago, so I may not know what I'm talking about, but I may have found a bug. I posted to #perl6 with my original code, and raydiak and timotimo were nice enough to golf it down for me: Str in CStruct blows up: $ perl6 > use NativeCall; class

[perl #125312] 'start' is a sub in Rakudo; design docs suggest it should be a statement prefix

2015-06-02 Thread via RT
# New Ticket Created by Sam S. # Please include the string: [perl #125312] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=125312 > According to http://design.perl6.org/S04.html#line_1380 'start' should probably be a statement

[perl #125302] [BUG] Segfault in Regex construction

2015-06-02 Thread via RT
# New Ticket Created by Jonathan Stowe # Please include the string: [perl #125302] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=125302 > I had no idea whether it was possible to construct a regex object by other means than

[perl6/specs] b413e5: replaced deprecated underscored sub names by dashe...

2015-06-02 Thread GitHub
Branch: refs/heads/master Home: https://github.com/perl6/specs Commit: b413e555d2ad4f1fd7a2da8454dcb00cf402fdda https://github.com/perl6/specs/commit/b413e555d2ad4f1fd7a2da8454dcb00cf402fdda Author: Stéphane Payrard Date: 2015-06-01 (Mon, 01 Jun 2015) Changed paths: M S

[perl6/specs] 86bb33: index page: correct some details about the documen...

2015-06-02 Thread GitHub
Branch: refs/heads/master Home: https://github.com/perl6/specs Commit: 86bb33ff986eb42cf61796c5c536b9820899a12d https://github.com/perl6/specs/commit/86bb33ff986eb42cf61796c5c536b9820899a12d Author: Moritz Lenz Date: 2015-06-01 (Mon, 01 Jun 2015) Changed paths: M html/i