New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
a macro with $_ as an argument doesn't work in a statement_mod 'for' loop in Rakudo #3025
Comments
From @masak<quester> rn: macro postfix:<!>($n) { quasi { {{{$n}}}+1 } } ; say $_! for 3..5; I *think* this is buggy behavior, and that the first result should |
From @usev6On Sun Jan 13 02:51:19 2013, masak wrote:
With todays changes the first result equals the second one: $ perl6-m -e 'macro postfix:<!>($n) { quasi { {{{$n}}}+1 } } ; say $_! for 3..5;' $ perl6-m -e 'macro postfix:<!>($n) { quasi { {{{$n}}}+1 } } ; for 3..5 {say $_!};' But back in 2013 the output was «456». |
The RT System itself - Status changed from 'new' to 'open' |
From @masakbartolin (>):
I'd say «456» is the correct output. There's nothing to suggest to me that it should get stuck on 4. So either this ticket should be closed (because the original problem is now gone) and another one opened with the new problem, or this one should be renamed and re-purposed. |
@coke - Status changed from 'open' to 'stalled' |
Migrated from rt.perl.org#116370 (status was 'stalled')
Searchable as RT116370$
The text was updated successfully, but these errors were encountered: