Improve typechecking of NPlusK patterns
This patch (due to Richard Eisenberg) improves documentation of the wrapper returned by tcSubMult (see Note [Wrapper returned from tcSubMult] in GHC.Tc.Utils.Unify). And, more substantially, it cleans up the multiplicity handling in the typechecking of NPlusKPat
parent
a60e30e0
No related branches found
No related tags found
Pipeline #22248 passed with warnings
Stage: lint
Stage: quick-build
Stage: build
Stage: full-build
Stage: cleanup
Stage: packaging
Stage: testing
Showing
- compiler/GHC/HsToCore/Binds.hs 1 addition, 0 deletionscompiler/GHC/HsToCore/Binds.hs
- compiler/GHC/Tc/Gen/Expr.hs 1 addition, 1 deletioncompiler/GHC/Tc/Gen/Expr.hs
- compiler/GHC/Tc/Gen/Pat.hs 14 additions, 17 deletionscompiler/GHC/Tc/Gen/Pat.hs
- compiler/GHC/Tc/Types/Evidence.hs 4 additions, 12 deletionscompiler/GHC/Tc/Types/Evidence.hs
- compiler/GHC/Tc/Utils/Env.hs 2 additions, 1 deletioncompiler/GHC/Tc/Utils/Env.hs
- compiler/GHC/Tc/Utils/Unify.hs 21 additions, 21 deletionscompiler/GHC/Tc/Utils/Unify.hs
Loading
Please register or sign in to comment