Roles are fundamentally broken?

2019-01-28 Thread Vadim Belman
Hi all, I have filled another role-related issue today. While the issue is just another bug in the compiler, it stems from the thing which I consider to be a big problem about what a Role is in Perl6. Or, more precisely, from the fact that Role is an entity deprived of its civil rights. What f

Re: [perl #133791] perl 6 parser bugging out on a comment thinking it is a real var

2019-01-28 Thread Warren W. Music Jr. via RT
Oh, for me I just moved on to a proper bit of code. I filed the bug for the perfection of the parser so it's less exploitable. :) "I code therefore I am!" On 1/26/19 8:17 PM, Timo Paulssen via RT wrote: > I believe the problem comes from `"{"` which actually starts an > interpolated code block c

Re: [perl #133791] perl 6 parser bugging out on a comment thinking it is a real var

2019-01-28 Thread Warren W. Music Jr. via RT
A missing string never got flagged though. When I comment out the line I call the C line everything worked. I submitted this as a bug since being the worse kind of exploiter I love seeing things like this. I'd go gung ho at using this for malicious activities if I was a hacker. "Concentrationi

Re: Roles are fundamentally broken?

2019-01-28 Thread yary
https://github.com/rakudo/rakudo/issues/2657 - looks like an outright bug, to me. I don't know about "the big picture" but you hit a not-explicitly-documented case. Referring to https://docs.perl6.org/language/objects#index-entry-declarator_role-Roles - *When a role is applied to a class, the me