[GHC] #15007: Don't keep shadowed variables in ghci, both renamer and type checker

GHC ghc-devs at haskell.org
Wed Jul 4 13:49:58 UTC 2018


#15007: Don't keep shadowed variables in ghci, both renamer and type checker
-------------------------------------+-------------------------------------
        Reporter:  sighingnow        |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:  8.6.1
       Component:  GHCi              |              Version:  8.5
      Resolution:                    |             Keywords:  TypedHoles
Operating System:  Unknown/Multiple  |         Architecture:
 Type of failure:  Incorrect         |  Unknown/Multiple
  error/warning at compile-time      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:  #11547 #14052     |  Differential Rev(s):  Phab:D4909
  #15202                             |
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by sighingnow):

 The program in #15314 now triggers the same assertion failure as
 comment:14 after Phab:D4909.

 {{{
 Prelude> let x = ()
 Prelude> let x = ()
 Prelude> :t _
 }}}

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


More information about the ghc-tickets mailing list