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

GHC ghc-devs at haskell.org
Sun Jan 17 13:14:29 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 thomie):

 Replying to [comment:3 goldfire]:
 > Post the output with `-fprint-explicit-kinds -fprint-explicit-foralls
 -ddump-tc -ddump-tc-trace -dverbose-core2core`. Thanks!

 The resulting file is too big to attach here (15 Mb). Here is how you can
 generate it yourself with `ghc-7.10.3`:

 {{{
 git clone https://github.com/jbracker/polymonad-plugin
 cd polymonad-plugin/examples/core-error
 cabal sandbox init
 cabal install --dependencies-only   # only takes a few seconds
 cabal build --ghc-options='-fprint-explicit-kinds -fprint-explicit-foralls
 -ddump-tc -ddump-tc-trace -dverbose-core2core' > dump 2>&1
 }}}

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


More information about the ghc-tickets mailing list