Can confirm this is still current behaviour with Rakudo 2019. I have came
across exactly the same issue and found this ticket. I've noticed, If I change
the example to catch exceptions. It then runs:
sub start-element($, $elem, $attr)
{
say "open $elem".indent($depth * 4);
On Mon, 21 Aug 2017 07:38:56 -0700, alex.jakime...@gmail.com wrote:
> It was removed completely for 2017.08 release.
>
> Rakudo commit:
> https://github.com/rakudo/rakudo/commit/465d91abdfda038cb7feda35f7966be4ec39acf3
> Discussion: https://irclog.perlgeek.de/perl6-dev/2017-08-21#i_15048995
> On 2
Thanks Salvador,
Now in Rakudo core
https://github.com/rakudo/rakudo/commit/3ca6554fdd8ff91da5423e85d4a2b7d309949531
On Tue, 03 Oct 2017 10:41:41 -0700, david.warring wrote:
> On Tue, 26 Apr 2016 15:24:57 -0700, sortiz wrote:
> > Hi David,
> >
> > Can you give a try to NativeHelpers::Pointer, pa
Thanks for that. As a worka-around Rakudo seems to do a better job, if I
give it a helping hand viz a TWEAK method:
use NativeCall;
class Point is repr('CStruct') {
has uint8 $.x;
has uint8 $.y;
}
class MyStruct2 is repr('CStruct') {
HAS Point $.point; # <-- embedded
has int8 $.f
Thanks for that. As a worka-around Rakudo seems to do a better job, if I
give it a helping hand viz a TWEAK method:
use NativeCall;
class Point is repr('CStruct') {
has uint8 $.x;
has uint8 $.y;
}
class MyStruct2 is repr('CStruct') {
HAS Point $.point; # <-- embedded
has int8 $.f
On Tue, 26 Apr 2016 15:24:57 -0700, sortiz wrote:
> Hi David,
>
> Can you give a try to NativeHelpers::Pointer, part of NativeHelpers::Blob?
>
> When well tested I plan push it to core.
>
> Regards.
>
> Salvador Ortiz.
Hi Salvador,
That looks. OK. Can it go straight into core?
ne remaining todo test for the subset of a subset case, ie:
>
> subset S of Int; subset S2 of S; say S2.isa(S)
>
> On Sun, Sep 17, 2017 at 6:34 AM, David Warring
>
> wrote:
>
> > After that commit: subset S of Int; S.isa(True) returns true as
> > expected.
&g
Tests added with roast commit
https://github.com/perl6/roast/commit/d776a06e52c35d6cbb7b7bbade7b7a15b97ecff8
One remaining todo test for the subset of a subset case, ie:
subset S of Int; subset S2 of S; say S2.isa(S)
On Sun, Sep 17, 2017 at 6:34 AM, David Warring
wrote:
> After that com
Tests added with roast commit
https://github.com/perl6/roast/commit/d776a06e52c35d6cbb7b7bbade7b7a15b97ecff8
One remaining todo test for the subset of a subset case, ie:
subset S of Int; subset S2 of S; say S2.isa(S)
On Sun, Sep 17, 2017 at 6:34 AM, David Warring
wrote:
> After that com
After that commit: subset S of Int; S.isa(True) returns true as expected.
I've noticed a quibble with subset of a subset:
perl6 -e'subset S of Int; subset S2 of S; say S2.isa(S)'
False
Should be True.
On Sun, Sep 17, 2017 at 3:17 AM, Aleks-Daniel Jakimenko-Aleksejev via RT <
perl6-bugs-follo...
After that commit: subset S of Int; S.isa(True) returns true as expected.
I've noticed a quibble with subset of a subset:
perl6 -e'subset S of Int; subset S2 of S; say S2.isa(S)'
False
Should be True.
On Sun, Sep 17, 2017 at 3:17 AM, Aleks-Daniel Jakimenko-Aleksejev via RT <
perl6-bugs-follo...
Attached is my use case which is parsing of PDF cross reference indices.
There are normally three numeric entries per line. e.g.
xref
0 8
00 65535 f
09 0 n
74 0 n
000120 0 n
Which populates nicely into an array of 'n' lines of shape 3.
There's the rare, bu
Attached is my use case which is parsing of PDF cross reference indices.
There are normally three numeric entries per line. e.g.
xref
0 8
00 65535 f
09 0 n
74 0 n
000120 0 n
Which populates nicely into an array of 'n' lines of shape 3.
There's the rare, bu
I've added a fudged test to S12-introspection/attributes.t
that the container shape is as declared; not a Whatever.
On Wed, 19 Apr 2017 03:14:35 -0700, c...@zoffix.com wrote:
> On Tue, 18 Apr 2017 20:34:15 -0700, david.warring wrote:
> > AFAIK there's currently no way of introspecting the shape of
sing serialize REPR function for REPR VMHash
(Rakudo::Internals::IterationSet)
On Fri, Apr 7, 2017 at 10:04 AM, David Warring wrote:
> # New Ticket Created by David Warring
> # Please include the string: [perl #131112]
> # in the subject line of all future correspondence about this is
found in the core Rakudo Mu class.
Slightly awkward, but at least working.
On Tue, Oct 18, 2016 at 1:35 PM, David Warring wrote:
> # New Ticket Created by David Warring
> # Please include the string: [perl #129907]
> # in the subject line of all future correspondence about this issue.
>
The behavious still seems the same:
% perl6 --v
This is Rakudo version 2016.07.1-135-g77724b2 built on MoarVM version
2016.07-16-g85b6537
implementing Perl 6.c.
% perl6 -e'my $s = False but True; say $s; say $s.so;'
True
True
This is inconsistent with:
% perl6 -e'my $s = 0 but True; say $s; say
Another failing example:
use v6;
class Test {
sub foo is export(:foo) {42};
sub bar is export(:bar) {0x42};
sub baz is export(:foo, :bar) {0o42};
}
% perl6 -e 'use Test :foo, :bar'
===SORRY!===
Cannot import symbol &baz from Test, because it already e
Same without tabs, sorry:
use v6;
class Alignment {
constant left is export(:horizontal) = 0.0;
constant right is export(:horizontal) = 1.0;
constant bottom is export(:vertical) = 0.0;
constant topis export(:vertical) = 1.0;
constant cente
Thanks for that. I've added a couple of tests to roast/S05-capture/caps.t.
https://github.com/perl6/roast/commit/bc4c9a5ec803a2a19087a922798df6f8f8e653c9
Hope these help.
On Sat, May 4, 2013 at 7:45 AM, Patrick R. Michaud via RT <
perl6-bugs-follo...@perl.org> wrote:
> Now fixed in 4741028:
>
It's inconsistent with the %% separator. This also also lets me catch
variable operators. e.g.
grammar G {
token TOP { +%% }
token letter{<[a..z]>}
token sep{\,|\;}
}
say G.parse("a;b,c,d");
「a;b,c,d」
letter => 「a」
sep => 「;」
letter => 「b」
sep => 「,」
letter => 「c」
21 matches
Mail list logo