[GHC] #11606: name shadowing warnings don't trigger on standalone declarations in ghci

GHC ghc-devs at haskell.org
Thu Feb 18 22:06:36 UTC 2016


#11606: name shadowing warnings don't trigger on standalone declarations in ghci
-------------------------------------+-------------------------------------
        Reporter:  rwbarton          |                Owner:
            Type:  bug               |               Status:  new
        Priority:  high              |            Milestone:  8.0.1
       Component:  GHCi              |              Version:  7.10.3
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by simonpj):

 I didn't even know you could say
 {{{
 Prelude> c = "Hello"
 }}}
 It seems entirely un-documented in the user manual.  It would be great if
 someone could document it, when implementing Reid's suggestion.

 Simon

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


More information about the ghc-tickets mailing list