
#14120: Type comparison in stg-lint is hopelessly broken -------------------------------------+------------------------------------- Reporter: bgamari | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.2.1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by simonpj):
It's not clear what we can/should do about this.
I suspect we should just give up on checking types in `StgLint` and just check for compatible kinds (e.g. `TYPE Unlifted` and `Type Lifted` is dodgy; `TYPE Float` and `TYPE Lifted` is definitely wrong). -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14120#comment:5 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler