Skip to content
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

.= methcall with fake-infix adverbs got broken by opt #1485

Closed
zoffixznet opened this issue Feb 6, 2018 · 0 comments
Closed

.= methcall with fake-infix adverbs got broken by opt #1485

zoffixznet opened this issue Feb 6, 2018 · 0 comments
Assignees
Labels
BLOCKER Preventing the next release of rakudo, or just needing attention before the release

Comments

@zoffixznet
Copy link
Contributor

The opt to .= methcalls broke fake-infix adverbs:

2018.01,HEAD class F { method z(|c) { dd c } }; ($ = F) .= z :42foo :70bar

¦«2018.01»:
\(:bar(70), :foo(42))

¦«HEAD(0bf735a)»:
===SORRY!=== Error while compiling /tmp/dLWEo3vn2d
You can't adverb .=
at /tmp/dLWEo3vn2d:1
------> od z(|c) { dd c } }; ($ = F) .= z :42foo⏏ :70bar
«exit code = 1»
@zoffixznet zoffixznet added the BLOCKER Preventing the next release of rakudo, or just needing attention before the release label Feb 6, 2018
@zoffixznet zoffixznet self-assigned this Feb 6, 2018
zoffixznet added a commit that referenced this issue Feb 7, 2018
Phixes: #1485

Annotate the `.=` construct so when we get to fake-infix adverbs
we shove them in the right place.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BLOCKER Preventing the next release of rakudo, or just needing attention before the release
Projects
None yet
Development

No branches or pull requests

1 participant