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

Already has attribute error lacks location of the offending line #6054

Open
p6rt opened this issue Feb 3, 2017 · 1 comment
Open

Already has attribute error lacks location of the offending line #6054

p6rt opened this issue Feb 3, 2017 · 1 comment
Labels
LTA Less Than Awesome; typically an error message that could be better

Comments

@p6rt
Copy link

p6rt commented Feb 3, 2017

Migrated from rt.perl.org#130714 (status was 'new')

Searchable as RT130714$

@p6rt
Copy link
Author

p6rt commented Feb 3, 2017

From @zoffixznet

While the error is descriptive, it doesn't say where the offending duplicated attribute is located. If possible, would be nice to include a line number or file.

  <Zoffix> m​: class { has $.foo; has $.foo }
  <camelia> rakudo-moar c98b3a​: OUTPUT«===SORRY!===␤Package '<anon|72589088>' already has an attribute named '$!foo'␤»
  <Zoffix> m​: class { has $foo; has $foo }

@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