[GHC] #15511: GHCi internal error with runQ [| it |] and _

#15511: GHCi internal error with runQ [| it |] and _ -------------------------------------+------------------------------------- Reporter: ChaiTRex | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: 8.6.1 Component: Compiler | Version: 8.4.3 Keywords: | Operating System: Unknown/Multiple Architecture: | Type of failure: None/Unknown Unknown/Multiple | Test Case: | Blocked By: Blocking: | Related Tickets: Differential Rev(s): | Wiki Page: -------------------------------------+------------------------------------- GHCi gives a GHC internal error with the following input: {{{ :set -XTemplateHaskell :m + Language.Haskell.TH.Syntax runQ [| it |] runQ [| it |] _ }}} Session: {{{ $ ghci GHCi, version 8.4.3: http://www.haskell.org/ghc/ :? for help Prelude> :set -XTemplateHaskell Prelude> :m + Language.Haskell.TH.Syntax Prelude Language.Haskell.TH.Syntax> runQ [| it |] UnboundVarE it Prelude Language.Haskell.TH.Syntax> runQ [| it |] VarE Ghci1.it Prelude Language.Haskell.TH.Syntax> _ <interactive>:1:1: error: GHC internal error: ‘Ghci1.it’ is not in scope during type checking, but it passed the renamer tcl_env of environment: [] Prelude Language.Haskell.TH.Syntax> }}} -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/15511 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#15511: GHCi internal error with runQ [| it |] and _ -------------------------------------+------------------------------------- Reporter: ChaiTRex | Owner: (none) Type: bug | Status: closed Priority: normal | Milestone: 8.6.1 Component: Compiler | Version: 8.4.3 Resolution: duplicate | 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: | -------------------------------------+------------------------------------- Changes (by monoidal): * status: new => closed * resolution: => duplicate Comment: Thanks for the report. This has been fixed in #15007. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/15511#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC