
#15648: Core Lint error with source-level unboxed equality -------------------------------------+------------------------------------- Reporter: RyanGlScott | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: 8.8.1 Component: Compiler | Version: 8.4.3 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: Compile-time | Unknown/Multiple crash or panic | Test Case: Blocked By: | Blocking: Related Tickets: #15209 | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by goldfire): `isPredTy` should almost certainly return `False` for `t1 ~# t2`. Code that wants to consider `t1 ~# t2` alongside other predicates can use `isPredTy ty || isConstraintType ty`. I think I made `isPredTy` recognize `t1 ~# t2` during the `-XTypeInType` implementation, but I don't think it's necessary anymore. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/15648#comment:9 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler