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

2015-05-12 Thread Moritz Lenz
Hi, On 05/12/2015 09:40 PM, R. Ransbottom wrote: > On Mon, May 11, 2015 at 03:22:46PM -0700, Darren Duncan wrote: > >> you can use "trusts". Also having to do this may indicate bad code >> design. -- Darren Duncan > > I saw Moritz' and Carl's responses and I agree with the smell > issue. > >

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

2015-05-12 Thread Darren Duncan
On 2015-05-12 12:40 PM, R. Ransbottom wrote: On Mon, May 11, 2015 at 03:22:46PM -0700, Darren Duncan wrote: you can use "trusts". Also having to do this may indicate bad code design. -- Darren Duncan I saw Moritz' and Carl's responses and I agree with the smell issue. Given that the code ex

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

2015-05-12 Thread R. Ransbottom
On Mon, May 11, 2015 at 03:22:46PM -0700, Darren Duncan wrote: > you can use "trusts". Also having to do this may indicate bad code > design. -- Darren Duncan I saw Moritz' and Carl's responses and I agree with the smell issue. Given that the code exists and needs testing, 'augment' seems pre

[perl #125165] samemark NYI

2015-05-12 Thread via RT
# New Ticket Created by Will Coleda # Please include the string: [perl #125165] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=125165 > from S32-setting-library/Str.pod some (old) tests in S32-str/samemark.t -- Will "Coke"

[perl #124455] substr on compact array

2015-05-12 Thread Will Coleda via RT
3 tests here that need fixing or review: my uint8 @buffer = ('A' .. 'Z').map({ .ord }); is(substr(@buffer, 0, 8), ord('A'), 'substr on compact array (1)'); is(substr(@buffer, 200, 8), ord('Z'), 'substr on compact array (2)'); is( substr(@buffer, 0, 16), sprintf('%

[perl #125161] [BUG] failure in launching promises in an array

2015-05-12 Thread via RT
# New Ticket Created by grond...@yahoo.fr # Please include the string: [perl #125161] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=125161 > Hi, $ perl6 --version This is perl6 version 2015.04-199-ge82920a built on MoarVM ve

[perl #62086] ~ in regexes shouldn't cause thrown exceptions

2015-05-12 Thread Carl Mäsak via RT
On Mon May 11 05:26:45 2015, pmichaud wrote: > After discussion with jnthn at OSDC.no, here's what we propose: > > In the regex engine, the default FAILGOAL behavior should be to simply > fail/backtrack. This would be the default behavior for (rakudo) > Cursor as well. > > Grammars that wish to

[perl #125155] [BUG] Blocks can't curry

2015-05-12 Thread via RT
# New Ticket Created by Justin DeVuyst # Please include the string: [perl #125155] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=125155 > This is a spin off from RT #77520. There is a test in S06-currying/assuming-and-mmd.t