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

Error on typoed named args: :foo:<bar> #5448

Open
p6rt opened this issue Jul 11, 2016 · 3 comments
Open

Error on typoed named args: :foo:<bar> #5448

p6rt opened this issue Jul 11, 2016 · 3 comments
Labels
LTA Less Than Awesome; typically an error message that could be better

Comments

@p6rt
Copy link

p6rt commented Jul 11, 2016

Migrated from rt.perl.org#128603 (status was 'open')

Searchable as RT128603$

@p6rt
Copy link
Author

p6rt commented Jul 11, 2016

From @zoffixznet

If you make a typo and instead of :foo<bar> write :foo​:<bar>, you get the error below. It's LTA-ness largely lies in not having a filename or line number indicating where the issue lies.

<BrokenRobot> m​: :foo​:<bar>
<camelia> rakudo-moar d075c8​: OUTPUT«===SORRY!===␤This type (QAST​::WVal) does not support positional operations␤»

--
Cheers,
ZZ | https://twitter.com/zoffix

@p6rt
Copy link
Author

p6rt commented May 6, 2017

From @smls

Same thing happens when the method call syntax is typoed to include both colon and and parens​:

  ➜ say 100.base​:(16)
  ===SORRY!===
  This type (QAST​::WVal) does not support positional operations

@p6rt
Copy link
Author

p6rt commented May 6, 2017

The RT System itself - Status changed from 'new' to 'open'

@p6rt p6rt added the LTA Less Than Awesome; typically an error message that could be better label Jan 5, 2020
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

1 participant