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> nom: say &foo; sub foo {}
<p6eval> nom 38165a: OUTPUT«sub foo() { ... }»
<masak> nom: say &foo
<p6eval> nom 38165a: OUTPUT«===SORRY!===Symbol '&foo' not predeclared
in <anonymous> (/tmp/7YmgXCNZA0:1)»
<moritz> and not postdeclared either :-)
<masak> I don't really like the error message, because the symbol
'&foo' is not predeclared even in the former... right.
* masak submits rakudobug for LTA error message
<masak> the issue with the error message has something to do with that
it doesn't correctly identify the error.
<masak> '&foo' doesn't need to be predeclared; it just needs to be declared.
<moritz> aye; rakudo just has a single code path for all the
undeclared symbol errors
<moritz> and everything else needs to be predeclared
Migrated from rt.perl.org#107960 (status was 'resolved')
Searchable as RT107960$
The text was updated successfully, but these errors were encountered: