Skip to content

Fix #92 (inappropriate error message) #93

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

Merged
merged 3 commits into from
Feb 6, 2021

Conversation

inariksit
Copy link
Member

Fixes #92

Used to print out a suggestion "maybe you're pattern matching at runtime" always when there was an internal error in GeneratePMCFG.
Now checks what the actual error message is, and only prints out the suggestion for one specific error message.

Tested with the following grammars:

@inariksit inariksit merged commit 173fca7 into GrammaticalFramework:master Feb 6, 2021
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.

Error message referring to pattern matching on runtime strings when using Prelude.notYet
1 participant