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 message “cannot find method CALL-ME” ( *(42) ) #5098

Closed
p6rt opened this issue Jan 28, 2016 · 6 comments
Closed

LTA error message “cannot find method CALL-ME” ( *(42) ) #5098

p6rt opened this issue Jan 28, 2016 · 6 comments

Comments

@p6rt
Copy link

p6rt commented Jan 28, 2016

Migrated from rt.perl.org#127408 (status was 'resolved')

Searchable as RT127408$

@p6rt
Copy link
Author

p6rt commented Jan 28, 2016

From @AlexDaniel

Code​:
*(42)

Result​:
Cannot find method 'CALL-ME'
  in block <unit> at -e line 1

This error message is not very user friendly.

Relevant piece of IRC log​:

<lizmat> perhaps Whatever and HyperWhatever need a CALL-ME with a better
error message
<jnthn> I don't like adding methods just to report errors
<jnthn> Breaks introspection
<jnthn> Any smarts want to go into X​::Method​::NotFound.

@p6rt
Copy link
Author

p6rt commented Mar 14, 2016

From @FROGGS

Patch​: rakudo/rakudo@42fb81d3b7

Tagging testneeded

@p6rt
Copy link
Author

p6rt commented Mar 14, 2016

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

@p6rt
Copy link
Author

p6rt commented Apr 11, 2016

From @usev6

This fails now with X​::Method​::NotFound and the error message has some more informations​:

$ perl6-m -e '*(42)'
No such method 'CALL-ME' for invocant of type 'Whatever'
  in block <unit> at -e line 1

I added a simple test to S02-types/whatever.t with commit Raku/roast@f90f4e371b .

I'm closing this ticket as 'resolved'.

1 similar comment
@p6rt
Copy link
Author

p6rt commented Apr 11, 2016

From @usev6

This fails now with X​::Method​::NotFound and the error message has some more informations​:

$ perl6-m -e '*(42)'
No such method 'CALL-ME' for invocant of type 'Whatever'
  in block <unit> at -e line 1

I added a simple test to S02-types/whatever.t with commit Raku/roast@f90f4e371b .

I'm closing this ticket as 'resolved'.

@p6rt p6rt closed this as completed Apr 11, 2016
@p6rt
Copy link
Author

p6rt commented Apr 11, 2016

@usev6 - Status changed from 'open' to 'resolved'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant