Skip to content

Fix parse errors with fixity definitions - #6

Open
mingmingrr wants to merge 2 commits into
codewars:masterfrom
mingmingrr:master
Open

Fix parse errors with fixity definitions#6
mingmingrr wants to merge 2 commits into
codewars:masterfrom
mingmingrr:master

Conversation

@mingmingrr

Copy link
Copy Markdown

Currently haskell-src-exts struggles to resolve infix operator fixity in certain conditions like qualified Prelude import.
Suggested workaround is ParseMode { fixities = Just [] }
see: haskell-suite/haskell-src-exts#75

Also ripParseOk is replaced with fromParseResult to show more informative error messages.
Current error message: Could not parse solution correctly
Error message after change: Parse failed at [solution.txt] (5:25): Parse error: stdout

@mingmingrr mingmingrr changed the title Fix parse errors with mixxing fixity definitions Fix parse errors with fixity definitions Aug 7, 2026
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.

1 participant