[GHC] #15220: ScopedTypeVariables binds a non-existent variable

GHC ghc-devs at haskell.org
Fri Aug 17 11:02:50 UTC 2018


#15220: ScopedTypeVariables binds a non-existent variable
-------------------------------------+-------------------------------------
        Reporter:  goldfire          |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:  8.8.1
       Component:  Compiler          |              Version:  8.5
      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):

 > We should still make sure we never zonk a SigTv to Any, so we can't
 close quite yet.

 Why should we make sure of that?

 We allow `length []` to elaborate to `length @Any ([] @Any)`.  I don't see
 what `SigTv` has to do with it.

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


More information about the ghc-tickets mailing list