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

Improve X::Syntax::Adverb error message #617

Merged
merged 2 commits into from Dec 4, 2015
Merged

Improve X::Syntax::Adverb error message #617

merged 2 commits into from Dec 4, 2015

Conversation

MadcapJake
Copy link
Contributor

Previously strings would just get a You cannot adverb that which could be seen as implying that the actual name of the adverb :foo could not be "adverbed".

If you now have an adverb following a string (or anything that doesn't have a name), it will print the string e.g., You cannot adverb 'foo'.

I think this could probably remove Exception.pm#L1403's // "that" too, right?

@MadcapJake
Copy link
Contributor Author

I removed // "that" and ran make test (passed) and make spectest (seems to be all the same current failing tests).

moritz added a commit that referenced this pull request Dec 4, 2015
Improve X::Syntax::Adverb error message
@moritz moritz merged commit 47d2daf into rakudo:nom Dec 4, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants