# New Ticket Created by "Carl Mäsak"
# Please include the string: [perl #123789]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org/Ticket/Display.html?id=123789 >
m: sub foo(int:U $x) { $x };
rakudo-moar f53a94: ( no output )
m: sub foo(int:U $x) {
# New Ticket Created by
# Please include the string: [perl #123777]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org/Ticket/Display.html?id=123777 >
r: my @a; BEGIN { @a = 1; }; say @a;
rakudo-moar 0cb22e: OUTPUT«This type does not support elems in
# New Ticket Created by
# Please include the string: [perl #123776]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org/Ticket/Display.html?id=123776 >
m: my $a; BEGIN { $a := 1; say $a; }; say $a;
rakudo-{parrot,moar} 0cb22e: OUTPUT«1(Any)»
m: my $a
Branch: refs/heads/master
Home: https://github.com/perl6/specs
Commit: 72242eb997c6e2b5436d980eb5e0b9e2c3e07223
https://github.com/perl6/specs/commit/72242eb997c6e2b5436d980eb5e0b9e2c3e07223
Author: Moritz Lenz
Date: 2015-02-10 (Tue, 10 Feb 2015)
Changed paths:
M S17-co
Rakudo now dies with a typed exception X::Inheritance::NotComposed when trying
to inherit from a stubbed class -- cmp. ticket 81060
(https://rt.perl.org/Ticket/Display.html?id=81060). I don't merge both tickets
since that would make things rather confusing IMHO.
On the basis of Moritz's comment
This looks right now:
$ perl6 -e 'class A { ... }; say A.WHAT' # X::Package::Stubbed
===SORRY!=== Error while compiling -e
The following packages were stubbed but not defined:
A
at -e:1
--> class A { ... }; say A.WHAT⏏
expecting any of:
postfix
statement end
s