[GHC] #10486: Allow addTopDecls to create annotations
GHC
ghc-devs at haskell.org
Thu Jun 4 15:42:11 UTC 2015
#10486: Allow addTopDecls to create annotations
-------------------------------------+-------------------------------------
Reporter: spinda | Owner:
Type: feature | Status: new
request | Milestone:
Priority: normal | Version: 7.10.1
Component: Template | Operating System: Unknown/Multiple
Haskell | Type of failure: None/Unknown
Keywords: | Blocked By:
Architecture: | Related Tickets:
Unknown/Multiple |
Test Case: |
Blocking: |
Differential Revisions: |
-------------------------------------+-------------------------------------
Currently addTopDecls is
[https://github.com/ghc/ghc/blob/228ddb95ee137e7cef02dcfe2521233892dd61e0/compiler/typecheck/TcSplice.hs#L811
restricted] to creating function, value, and foreign import declarations.
Lifting this restriction allows one to create annotations without any
issues, as far as I can tell.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10486>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list