Skip to content
Snippets Groups Projects
Commit 9956c18b authored by Alan Zimmerman's avatar Alan Zimmerman Committed by thoughtpolice
Browse files

GRHS with empty wherebinds gets wrong SrcSpan

Summary:
When parsing a rhs, the GRHS is constructed via unguardedRHS which is
given a SrcSpan which only takes account of the '=' and wherebinds, so
does not include the exp when wherebinds are empty.

Test Plan: ./validate

Reviewers: hvr, austin

Reviewed By: austin

Subscribers: thomie

Differential Revision: https://phabricator.haskell.org/D643

(cherry picked from commit d4f25cb1)
parent 29bb1566
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment