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
A combination of many conditions seem necessary for this to happen :
the lexical must braced within a string in a return statement of a
recursive function.
$ perl6 -e 'sub t($p) { t $p-1 if $p-1 > 0; return "{$p}" }; say t
3'1$ perl6 -e 'sub t($p) { t $p-1 if $p-1 > 0; return "$p" };
say t 3'3
A combination of many conditions seem necessary for this to happen :
the lexical must braced within a string in a return statement of a
recursive function.
$ perl6 -e 'sub t($p) { � t $p-1 �if $p-1 > 0; �return "{$p}" }; say t
3'1$ perl6 -e 'sub t($p) { � t $p-1 �if $p-1 > 0; �return "$p" };
say t 3'3
Fixed:
sub t($p) { t $p-1 if $p-1 > 0; return "{$p}" }; say t 3
3
sub t($p) { t $p-1 if $p-1 > 0; return "$p" }; say t 3
3
Migrated from rt.perl.org#104594 (status was 'resolved')
Searchable as RT104594$
The text was updated successfully, but these errors were encountered: