
#12092: Out-of-scope variable leads to type error, not scope error -------------------------------------+------------------------------------- Reporter: kwf | Owner: (none) Type: bug | Status: closed Priority: normal | Milestone: Component: Compiler (Type | Version: 8.0.1 checker) | Keywords: Resolution: fixed | TypeApplications Operating System: Unknown/Multiple | Architecture: Type of failure: Incorrect | Unknown/Multiple warning at compile-time | Test Case: Blocked By: | Blocking: Related Tickets: #13834 | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by RyanGlScott): Oh dear, that is a good observation. It seems that this has regressed at some point between 8.4 and 8.6. Since #13834 is basically the same issue, let's move the discussion about this problem to there. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/12092#comment:5 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler