[GHC] #14368: GHC 8.2.1 doesn't inform you when the monomorphism restriction kicks in anymore

GHC ghc-devs at haskell.org
Fri Oct 20 13:24:33 UTC 2017


#14368: GHC 8.2.1 doesn't inform you when the monomorphism restriction kicks in
anymore
-------------------------------------+-------------------------------------
        Reporter:  RyanGlScott       |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler (Type    |              Version:  8.2.1
  checker)                           |
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
 Type of failure:  Poor/confusing    |  Unknown/Multiple
  error message                      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by simonpj):

 > can't we just copy that message in the error

 But ''which'' errors? The two sites are quite separate.  E.g. the
 Char/Bool error is much later.

 I'm sure there are improvements to be had here; just not sure exactly what
 and how.

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


More information about the ghc-tickets mailing list