[GHC] #10857: "ghci -XMonomorphismRestriction" doesn't turn on the monomorphism restriction

GHC ghc-devs at haskell.org
Mon Sep 21 17:13:53 UTC 2015


#10857: "ghci -XMonomorphismRestriction" doesn't turn on the monomorphism
restriction
-------------------------------------+-------------------------------------
        Reporter:  rwbarton          |                   Owner:  cocreature
            Type:  bug               |                  Status:  new
        Priority:  normal            |               Milestone:
       Component:  GHCi              |                 Version:  7.10.1
      Resolution:                    |                Keywords:  newcomer
Operating System:  Unknown/Multiple  |            Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |               Test Case:
      Blocked By:                    |                Blocking:
 Related Tickets:  #3202, #3217      |  Differential Revisions:
-------------------------------------+-------------------------------------

Comment (by thomie):

 {{{
 +[1 of 1] Compiling Ghci058          ( Ghci058.hs, interpreted ) [flags
 changed]
  Ok, modules loaded: Ghci058.
 }}}
 That's unacceptable I think. After compiling a module with `-dynamic`, and
 then loading it in GHCi, GHCi shouldn't have to reinterpret it.

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


More information about the ghc-tickets mailing list