[GHC] #12688: derived Show instances aren't protected from RebindableSyntax+OverloadedStrings

GHC ghc-devs at haskell.org
Thu Oct 13 11:51:52 UTC 2016


#12688: derived Show instances aren't protected from
RebindableSyntax+OverloadedStrings
-------------------------------------+-------------------------------------
        Reporter:  daviddarais       |                Owner:  RyanGlScott
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  8.0.1
      Resolution:                    |             Keywords:
                                     |  rebindablesyntax overloadedstrings
                                     |  deriving show string
Operating System:  Unknown/Multiple  |         Architecture:
 Type of failure:  GHC rejects       |  Unknown/Multiple
  valid program                      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------
Changes (by simonpj):

 * cc: RyanGlScott (added)
 * owner:   => RyanGlScott


Comment:

 > A solution would be to protect the code generated by deriving (Show)
 from OverloadedStrings and RebindableSyntax extensions.

 Yes, I think that's probably the right solution.  Ryan, do you agree?
 Might you do it?  I think it's a matter of fiddling with `ib_extensions`.

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


More information about the ghc-tickets mailing list