This works now as expected:
$ perl6 -e 'role Cup[::Contents] { }; class EggNog { }; my Cup of EggNog $mug;
$mug.WHAT.perl.say'
Cup[EggNog]
Since the test in integration/advent2009-day18.t is unfudged and runs fine in
spectests, I'm closing this ticket.
This works now:
$ perl6 -e 'enum :: un; say ~un'
un
There is a passing test in S12-enums/misc.t added with commit
https://github.com/perl6/roast/commit/ef7e1258e5
I'm closing this ticket now.
# New Ticket Created by Carl Mäsak
# Please include the string: [perl #123077]
# in the subject line of all future correspondence about this issue.
# URL: https://rt.perl.org/Ticket/Display.html?id=123077
moritz m: my $x = 1/ 0; $x.gist
camelia rakudo-moar 315ec6: OUTPUT«Type check failed
We're back to the behaviour from 2011:
$ perl6 -e '$foo:: = 42; say $foo::'
42
$ perl6-m -e 'say $foo::'
(Any)
But I wonder whether this is really correct. The subject states that 'say
$foo::' should not parse and TimToadys remarks sound likewise:
p6eval std 31559: OUTPUT«ok 00:01 111m»
The Null PMC access is gone, so I'm closing this ticket.
The error message has changed slightly:
$ perl6-m -e 'my ::foo $x; say $x'
Cannot type check against type variable foo
in any type_check at src/gen/m-Metamodel.nqp:297
in block unit at -e:1
I added a test for this exception to
The internal error message has changed slightly (but is still LTA):
$ perl6-m -e 'for our $:: ()'
===SORRY!===
MVMArray: Index out of bounds
$ perl6-p -e 'for our $:: ()'
===SORRY!===
QRPA: index out of bounds
$ perl6-j -e 'for our $:: ()'
===SORRY!===
VMArray: Index out of bounds
STD
# New Ticket Created by Carl Mäsak
# Please include the string: [perl #123078]
# in the subject line of all future correspondence about this issue.
# URL: https://rt.perl.org/Ticket/Display.html?id=123078
masak m: class C { method foo { self.bar }; method !bar { say hey,
I'm right here! }
Branch: refs/heads/master
Home: https://github.com/perl6/specs
Commit: 2133dd1232dae1b60f2ff728eb195894a59723d4
https://github.com/perl6/specs/commit/2133dd1232dae1b60f2ff728eb195894a59723d4
Author: Elizabeth Mattijsen l...@dijkmat.nl
Date: 2014-10-28 (Tue, 28 Oct 2014)
Branch: refs/heads/master
Home: https://github.com/perl6/specs
Commit: 9b61e9b0b6e46a2ecb98c1461f3933ca0fbf9905
https://github.com/perl6/specs/commit/9b61e9b0b6e46a2ecb98c1461f3933ca0fbf9905
Author: Elizabeth Mattijsen l...@dijkmat.nl
Date: 2014-10-28 (Tue, 28 Oct 2014)