Add orderingTyCon to wiredInTyCons (#18185)
`Ordering` needs to be wired in for use in the built-in `CmpNat` and `CmpSymbol` type families, but somehow it was never added to the list of `wiredInTyCons`, leading to the various oddities observed in #18185. Easily fixed. Fixes #18185.
parent
477f13bb
Branches wip/ttg-booleanformula
No related tags found
Pipeline #19383 failed
Stage: lint
Stage: quick-build
Stage: build
Stage: full-build
Stage: cleanup
Stage: packaging
Stage: testing
Showing
- compiler/GHC/Builtin/Types.hs 6 additions, 2 deletionscompiler/GHC/Builtin/Types.hs
- testsuite/tests/typecheck/should_compile/T18185.hs 31 additions, 0 deletionstestsuite/tests/typecheck/should_compile/T18185.hs
- testsuite/tests/typecheck/should_compile/all.T 1 addition, 0 deletionstestsuite/tests/typecheck/should_compile/all.T
Loading
Please register or sign in to comment