
#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 RyanGlScott): I'm OK with not being able to report every possible occurrences of the monomorphism restriction. But as you've demonstrated, GHC clearly //can// detect that the monorphism restriction is kicking in here (in a warning)—can't we just copy that message in the error? -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14368#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler