
#10539: ghc internal error compiling simple template haskell + lens program -------------------------------------+------------------------------------- Reporter: andrew.wja | Owner: Type: bug | Status: infoneeded Priority: normal | Milestone: Component: Compiler | Version: 7.10.1 Resolution: | Keywords: lens Operating System: Linux | template-haskell Type of failure: Compile-time | Architecture: x86_64 crash | (amd64) Blocked By: | Test Case: Related Tickets: | Blocking: | Differential Revisions: -------------------------------------+------------------------------------- Changes (by rwbarton): * status: new => infoneeded Comment: No because even after adding `{-# LANGUAGE TemplateHaskell, DeriveDataTypeable #-}` I get {{{ Syntax.hs:24:11: Not in scope: ‘uniplate’ }}} On the other hand, I guess that means the splice `makeLenses ''Arith`, which is probably where GHC crashes for you, has already run successfully, so in that sense I can't reproduce it either. Can you double check the reproducer? Maybe you minimized it too much? -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10539#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler