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

LTA error with named args in method call in where clause #1295

Open
zoffixznet opened this issue Dec 2, 2017 · 1 comment
Open

LTA error with named args in method call in where clause #1295

zoffixznet opened this issue Dec 2, 2017 · 1 comment
Labels
LTA Less Than Awesome; typically an error message that could be better

Comments

@zoffixznet
Copy link
Contributor

Let's assume the user forgot a comma between :bar:$ber:

$ perl6 -e 'my $ber; -> $ where .z: :foo(:bar:$ber) {}'
===SORRY!===
Unknown QAST node type NQPMu

$ perl6 -v
This is Rakudo version 2017.10-3-gf40babb built on MoarVM version 2017.10
implementing Perl 6.c.
``
@zoffixznet zoffixznet added the LTA Less Than Awesome; typically an error message that could be better label Dec 2, 2017
@JJ
Copy link
Collaborator

JJ commented Jul 22, 2020

Well, now it's even less awesome. Seems to be valid syntax. Should it be?
It's apparently dropped silently:

raku -e 'my $ber=33; my $foo = :bar:$ber; say $foo'
bar => True

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
LTA Less Than Awesome; typically an error message that could be better
Projects
None yet
Development

No branches or pull requests

2 participants