Skip to content

More sensible SrcSpans for recursive pattern synonym errors (#16900)

Ryan Scott requested to merge RyanGlScott/ghc:wip/T16900 into master

Attach the SrcSpan of the first pattern synonym binding involved in the recursive group when throwing the corresponding error message, similarly to how it is done for type synonyms.

Fixes #16900 (closed).

Merge request reports