EPA: Incorrect locations for UserTyVar with '@'
In T13343.hs, the location for the @ is not within the span of the surrounding UserTyVar. type Bad @v = (forall (v1 :: RuntimeRep) (a1 :: TYPE v). a1) :: TYPE v Widen it so it is captured. Closes #23887
Showing
- compiler/GHC/Hs/Type.hs 10 additions, 5 deletionscompiler/GHC/Hs/Type.hs
- compiler/GHC/Parser/Annotation.hs 1 addition, 1 deletioncompiler/GHC/Parser/Annotation.hs
- compiler/GHC/Parser/PostProcess.hs 15 additions, 4 deletionscompiler/GHC/Parser/PostProcess.hs
- testsuite/tests/printer/Makefile 5 additions, 0 deletionstestsuite/tests/printer/Makefile
- testsuite/tests/printer/Test23887.hs 10 additions, 0 deletionstestsuite/tests/printer/Test23887.hs
- testsuite/tests/printer/all.T 1 addition, 0 deletionstestsuite/tests/printer/all.T
- utils/check-exact/Main.hs 4 additions, 3 deletionsutils/check-exact/Main.hs
Loading
Please register or sign in to comment