[GHC] #11435: Evidence from TC Plugin triggers core-lint warning

GHC ghc-devs at haskell.org
Mon Jan 18 09:43:49 UTC 2016


#11435: Evidence from TC Plugin triggers core-lint warning
-------------------------------------+-------------------------------------
        Reporter:  jbracker          |                Owner:
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  7.10.2
      Resolution:                    |             Keywords:  core-lint
                                     |  warning evidence type-checker
                                     |  plugin
Operating System:  Linux             |         Architecture:
 Type of failure:  GHC rejects       |  Unknown/Multiple
  valid program                      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by jbracker):

 It's the same with ghc-7.10.2. The warning disappears when compiled with
 `-fno-opt-coercion`.

 Replying to [comment:2 thomie]:
 > `-fno-opt-coercion` makes the problem go away. Tested with ghc-7.10.3.
 >
 > The plugin doesn't compile with GHC 8 or HEAD, without significant
 changes.

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11435#comment:5>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list