#13242: Panic "StgCmmEnv: variable not found" with ApplicativeDo and ExistentialQuantification -------------------------------------+------------------------------------- Reporter: ljli | Owner: simonmar Type: bug | Status: new Priority: highest | Milestone: 8.0.3 Component: Compiler | Version: 8.1 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 thought it would be sufficient to typecheck each statement (group) separately rather than typechecking later statements inside the scope of previous ones.
Yes; that's what I meant by comment:9. seems to work, and much simpler. Validating now. Re unsatisfactory nature of the current story: I'll leave it to you to document the behaviour, and perhaps improve it along the lines you suggest. -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/13242#comment:13> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler