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 when forgetting a colon on a colonpair in extended routine names #6035

Open
p6rt opened this issue Jan 28, 2017 · 4 comments
Open

Error when forgetting a colon on a colonpair in extended routine names #6035

p6rt opened this issue Jan 28, 2017 · 4 comments
Labels
LTA Less Than Awesome; typically an error message that could be better

Comments

@p6rt
Copy link

p6rt commented Jan 28, 2017

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

Searchable as RT130657$

@p6rt
Copy link
Author

p6rt commented Jan 28, 2017

From @zoffixznet

Missing `​:` before `bar<bar>`​:

<Zoffix> m​: sub infix​:foo<foo>bar<bar> {}
<camelia> rakudo-moar cfae23​: OUTPUT«===SORRY!===␤Cannot find method 'wanted' on object of type NQPMu␤»

The major LTAness of the error is the missing location of the offending code.

@p6rt
Copy link
Author

p6rt commented Jan 28, 2017

From @zoffixznet

Another related one (the first colonpair has empty key)​:

<Zoffix> m​: sub infix​:<foo>bar<bar> {}
<camelia> rakudo-moar cfae23​: OUTPUT«===SORRY!===␤Cannot find method 'has_compile_time_value' on object of type NQPMu␤»

@p6rt
Copy link
Author

p6rt commented Sep 11, 2017

From @skids

On Fri, 27 Jan 2017 16​:11​:28 -0800, cpan@​zoffix.com wrote​:

Another related one (the first colonpair has empty key)​:

<Zoffix> m​: sub infix​:<foo>bar<bar> {}
<camelia> rakudo-moar cfae23​: OUTPUT«===SORRY!===␤Cannot find method
'has_compile_time_value' on object of type NQPMu␤»

Current behavior​:

$ perl6 -e 'sub infix​:foo<foo>bar<bar> {}'
===SORRY!===
Cannot call method '!cursor_init' on a null object
$ perl6 -e 'sub infix​:<foo>bar<bar> {}'
===SORRY!===
Cannot call method '!cursor_init' on a null object

@p6rt
Copy link
Author

p6rt commented Sep 11, 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