Skip to content

Improve parser error messages when a pattern matching is not expected #1718

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

Draft
wants to merge 2 commits into
base: trunk
Choose a base branch
from

Conversation

kutyel
Copy link

@kutyel kutyel commented Oct 8, 2020

Hi!

I thought that with some slight modifications to the parser in the point were it is reading the implementation of functions would suffice, but somehow this code is not running and the exact same error appears (unexpected [).

Am I missing something? 🤔

I'd like some tentative review or pointers to the right direction, thanks in advance!

Fixes #793


This change is Reviewable

@kutyel kutyel marked this pull request as ready for review October 23, 2020 12:46
@aryairani aryairani marked this pull request as draft October 12, 2021 16:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Confusing error message when using Haskell-style pattern matching
3 participants