[GHC] #15228: Remove use of showSDocUnsafe in extending_ghc.rst

GHC ghc-devs at haskell.org
Tue Jun 5 03:52:49 UTC 2018


#15228: Remove use of showSDocUnsafe in extending_ghc.rst
-------------------------------------+-------------------------------------
           Reporter:  mpickering     |             Owner:  (none)
               Type:  task           |            Status:  new
           Priority:  normal         |         Milestone:  8.6.1
          Component:  Compiler       |           Version:  8.4.3
           Keywords:  newcomer       |  Operating System:  Unknown/Multiple
       Architecture:                 |   Type of failure:  None/Unknown
  Unknown/Multiple                   |
          Test Case:                 |        Blocked By:
           Blocking:                 |   Related Tickets:
Differential Rev(s):                 |         Wiki Page:
-------------------------------------+-------------------------------------
 There are lots of usages of `showSDocUnsafe` in `extending_ghc.rst`.
 However, they are all unnecessary as far as I could see because the `Hsc`
 or `TcM` context has a copy of `DynFlags` in it. It should be possible to
 replace them all with `showSDoc`.

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


More information about the ghc-tickets mailing list