# New Ticket Created by "Carl Mäsak"
# Please include the string: [perl #122992]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org/Ticket/Display.html?id=122992 >
camelia was having some indigestion in the below backlog, which is why
I'm reporting some
# New Ticket Created by "Carl Mäsak"
# Please include the string: [perl #122991]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org/Ticket/Display.html?id=122991 >
m: class A { my @.foo handles }; A.push("OH", "HAI"); say A.foo
rakudo-moar a6f181: OU
bartolin (>):
> Actually I don't think S03 says that '1,3,5 ... 8' should act as
> '1,3,5 ... *'
>
> As I understand it '1,3,5 ... 8' gives an infinite list with all even
> numbers. '1,3,5 ... *' also gives an infinite list with all even
> numbers -- but this one is lazy.
>
> So there is a differ
Resolving this ticket because Rakudo no longer segfaults.
See [perl #122990] for the unexpected behavior it revealed underneath.
# New Ticket Created by "Carl Mäsak"
# Please include the string: [perl #122990]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org/Ticket/Display.html?id=122990 >
I'm about to close
https://rt.perl.org/Ticket/Display.html?id=118581 (because it no
long
On Thu Oct 16 00:10:27 2014, barto...@gmx.de wrote:
> Just an update: There is no longer a Null PMC access error, but Rakudo
> complains about no matching signature:
>
> $ perl6-m -e 'class A is Any { proto method new($) {*} }; A.new(now)'
> Cannot call 'new'; none of these signatures match:
> i
Ah, yes. Rebuilding enough things, it works now.
FROGGS (>):
> I almost want to tag the bug as invalid :o)
Done.
This works now:
$ perl6-m -e 'my @a = 1..10; @a.first(* %% 2).++; say @a'
1 3 3 4 5 6 7 8 9 10
I added a test for this (and for the example with grep) to S32-list/first.t and
S32-list/grep.t, respectively, with the following commit:
https://github.com/perl6/roast/commit/4295bfcfae
The error message is no longer too internal, but is it adequate enough?
$ perl6-m -e '{}:<>' ## identical error with perl6-p
===SORRY!===
This type does not support positional operations
$ perl6-j -e '{}:<>'
===SORRY!===
java.lang.RuntimeException: This type does not support positional operat
All of the above parses now (on Moar, Parrot and JVM):
$ perl6 -e 'class A { has ($.x where 1) }; say "alive"'
alive
$ perl6 -e 'class A { has $.x where 1 }; say "alive"'
alive
$ perl6-m -e 'class A { has $x where 1; }; say "alive"'
alive
$ perl6 -e 'class A { has Int $.color where 1|2; }; say
This parses now (on Moar, Parrot and JVM):
$ perl6 -e 'sub ndr($r where ($r ||= 10) > 0 && 1) { }; say "alive"'
alive
I added a test to S06-other/misc.t with the following commit:
https://github.com/perl6/roast/commit/aeed867f01 and I'm closing the ticket.
Since this works now I've added 3 tests to S09-typed-arrays/arrays.t with the
following commit: https://github.com/perl6/roast/commit/ece637835e
For the last example ("my Int @a=;") there was already a test (written
for ticket 114968).
I'm closing this ticket now.
This no longer segfaults but gives False (on Moar, Parrot and JVM):
$ perl6 -e 'say \(1) ~~ :(int $x as Str)'
False
Is that smart match supposed to return True? (For the tests it would be nice to
check for the correct result and not only whether it lives_ok.)
Just an update: There is no longer a Null PMC access error, but Rakudo
complains about no matching signature:
$ perl6-m -e 'class A is Any { proto method new($) {*} }; A.new(now)'
Cannot call 'new'; none of these signatures match:
in block at -e:1
$ perl6-p -e 'class A is Any { proto method n
Since it's now possible to import the same thing twice, I added a test to
S11-modules/import.t with the following commit:
https://github.com/perl6/roast/commit/02a309ec81 and I'm closing the ticket.
15 matches
Mail list logo