[perl #124190] [BUG] Promise::Vow can be constructed from the outside to change the status of a Promise in Rakudo

2015-03-27 Thread Carl Mäsak
# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #124190] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=124190 > m: my $promise = Promise.new; say $promise.status; Promise::Vow.new(:$promise).keep(42);

Re: Can a user "cheat" and call a class's private method?

2015-03-27 Thread Carl Mäsak
This feels like the same conversation we had earlier this week about accessing private methods. :) But maybe there are still a few new points that can be made. Tom (>>), Moritz (>): >> I need to test some private routines, so is there a way to do that? > > The easiest way to do that is when the cl

Re: Can a user "cheat" and call a class's private method?

2015-03-27 Thread Tom Browder
On Fri, Mar 27, 2015 at 6:36 AM, Carl Mäsak wrote: > This feels like the same conversation we had earlier this week about > accessing private methods. :) But maybe there are still a few new > points that can be made. ... Okay, Carl, I think I understand. But what about this for my particular sit

Re: Can a user "cheat" and call a class's private method?

2015-03-27 Thread yary
On Fri, Mar 27, 2015 at 8:35 AM, Tom Browder wrote: > Use a separate module (but included with the code for the whole > package) for the non-class-specific, formerly-private methods to be > "public", because some of the private > methods are really general math subroutines. That way I can te

[perl #124191] [BUG] For loop fails to CATCH exception on 208th iteration in Rakudo

2015-03-27 Thread Carl Mäsak
# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #124191] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=124191 > <[Tux]> Something recent broke Text::CSV :( [Tux]: How does it fail? * [Tux] is investig

[perl #124190] [BUG] Promise::Vow can be constructed from the outside to change the status of a Promise in Rakudo

2015-03-27 Thread Carl Mäsak via RT
Fixed in fb991b and spectested in 4f7877. Resolving ticket.

[perl #124196] Rakudo doesn't build with fb991be191c9 on OS X

2015-03-27 Thread via RT
# New Ticket Created by Elizabeth Mattijsen # Please include the string: [perl #124196] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=124196 > The following step can take a long time, please be patient. /Users/liz/Github/raku

[perl #124197] Grammar OOM error

2015-03-27 Thread via RT
# New Ticket Created by # Please include the string: [perl #124197] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=124197 > OS: Ubuntu 14.04 LTS on VirtualBox Host: Windows 8, dual Core i5 Rakudo version: current as of 3/25/

Example module and its use

2015-03-27 Thread Tom Browder
I'm trying to get the basic syntax down on creating and using a module. I've tried this and get an error: # file 1: Bar.pm module Bar; sub foo($a, $b, $c) is export {} # file 2: doit.pl v6; use lib <.>; use Bar ; my @t = foo(1, 2, 3); # in a shell $ perl6 doit.pl ===SORRY!=== Error while impor

[perl6/specs] c1d2de: Add missing "to" in sentence

2015-03-27 Thread GitHub
Branch: refs/heads/master Home: https://github.com/perl6/specs Commit: c1d2dea29784ac35d1b2c84030c33341bbd2b2e4 https://github.com/perl6/specs/commit/c1d2dea29784ac35d1b2c84030c33341bbd2b2e4 Author: Paul Cochrane Date: 2015-03-27 (Fri, 27 Mar 2015) Changed paths: M S04-

[perl6/specs] 695cab: Wrap paragraphs consistently

2015-03-27 Thread GitHub
Branch: refs/heads/master Home: https://github.com/perl6/specs Commit: 695cab795b0a2ae80bfeae189abbe8ae9a1044be https://github.com/perl6/specs/commit/695cab795b0a2ae80bfeae189abbe8ae9a1044be Author: Paul Cochrane Date: 2015-03-27 (Fri, 27 Mar 2015) Changed paths: M S04-

Re: Example module and its use

2015-03-27 Thread Nathan Brown
Hi Tom, If you put the attribute is export on a sub, then it is part of the :DEFAULT and :ALL tagsets. That means you can import them by: use Bar :DEFAULT; http://design.perl6.org/S11.html#Dynamic_exportation states: The default EXPORTALL handles symbol exports by removing recognized export ite