[GHC] #10599: Template Haskell doesn't allow `newName "type"`
GHC
ghc-devs at haskell.org
Fri Jul 3 03:15:31 UTC 2015
#10599: Template Haskell doesn't allow `newName "type"`
-------------------------------------+-------------------------------------
Reporter: meteficha | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Template Haskell | Version: 7.10.1
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
Type of failure: None/Unknown | Unknown/Multiple
Blocked By: | Test Case:
Related Tickets: | Blocking:
| Differential Revisions:
-------------------------------------+-------------------------------------
Comment (by GregWeber):
I just tested on 7.10.2 (the docker image which uses the hvr ppa).
```
➜ th-bug docker run --rm -v `pwd`:/proj -w /proj haskell:7.10.2 ghc T.hs
[1 of 2] Compiling Q ( Q.hs, Q.o )
[2 of 2] Compiling T ( T.hs, T.o )
T.hs:5:1:
Illegal variable name: ‘type’
When splicing a TH declaration: ident_0 type_1 = type_1
```
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10599#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list