You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<masak> m: class C { has $.x = D.new }; class D {}
<camelia> rakudo-moar af8798: OUTPUT«===SORRY!=== Error while
compiling /tmp/9mEQAw_f9TIllegally post-declared type: D used at
line 1»
<masak> m: class C { has $.x = D::E.new }; class D::E {}; C.new
<camelia> rakudo-moar af8798: OUTPUT«Could not find symbol '&E' [...]
* masak submits rakudobug
The second line gets through compilation and all the way to runtime,
where it fails. It would be much nicer to get the same error message
about illegally post-declared types as in the first line.
Migrated from rt.perl.org#127214 (status was 'new')
Searchable as RT127214$
The text was updated successfully, but these errors were encountered: