Forked from
Glasgow Haskell Compiler / GHC
1019 commits behind, 1 commit ahead of the upstream repository.
sheaf
authored
This commit modifies GHC.HsToCore.Pmc.Solver.generateInhabitingPatterns to prioritise reporting COMPLETE sets in which all of the ConLikes are in scope. This avoids suggesting out of scope constructors when displaying an incomplete pattern match warning, e.g. in baz :: Ordering -> Int baz = \case EQ -> 5 we prefer: Patterns of type 'Ordering' not matched: LT GT over: Patterns of type 'Ordering' not matched: OutOfScope Fixes #25115
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
Name | Last commit | Last update |
---|---|---|
.. | ||
GHC | ||
Language/Haskell | ||
cbits | ||
jsbits | ||
.hlint.yaml | ||
CodeGen.Platform.h | ||
GHC.hs | ||
LICENSE | ||
Setup.hs | ||
Unique.h | ||
flattening-notes | ||
ghc.cabal.in | ||
profiling-notes |