Skip to content

Pmc: Fix SrcLoc and warning for incomplete irrefutable pats (#24234)

Sebastian Graf requested to merge wip/T24234 into master

Before, the source location would point at the surrounding function definition, causing the confusion in #24234. I also took the opportunity to introduce a new LazyPatCtx :: HsMatchContext _ to make the warning message say "irrefutable pattern" instead of "pattern binding".

Merge request reports