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> rn: sub a { my &x = { return }; &x }; my &y = a; &y()
<p6eval> rakudo 138213: OUTPUT«(timeout)»
<masak> hm, locally on rakudo I get 'Attempt to return outside of any
Routine'. I don't much like that error.
<masak> the return is in a Routine.
<masak> it's just that the Routine in question is exhausted.
<pmichaud> ...a Routine that has already exited, though.
<masak> right, I agree that the return heppens dynamically outside the
dynamic scope of the Routine.
<pmichaud> yes, that seems like a LTA error message
* masak submits rakudobug
<benabik> rn: sub a { my &x = { return }; &x }; sub b(&x) { &x() }; b(a)
<p6eval> rakudo 138213: OUTPUT«(timeout)»
<p6eval> ..niecza v19-13-g442e075: ( no output )
<masak> locally I still get 'Attempt to return outside of any Routine'
<masak> benabik++
Migrated from rt.perl.org#114042 (status was 'open')
Searchable as RT114042$
The text was updated successfully, but these errors were encountered: