Skip to content

Fix #16632 by using the correct SrcSpan in checkTyClHdr

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

checkTyClHdr's case for HsTyVar was grabbing the wrong SrcSpan, which lead to error messages pointing to the wrong location. Easily fixed.

Merge request reports