[GHC] #10853: Refine addTopDecls
GHC
ghc-devs at haskell.org
Fri Nov 6 20:55:38 UTC 2015
#10853: Refine addTopDecls
-------------------------------------+-------------------------------------
Reporter: goldfire | Owner:
Type: bug | Status: new
Priority: normal | Milestone: 8.0.1
Component: Template Haskell | Version: 7.10.2
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 goldfire):
It turns out that my proposal to change the treatment of regions is a bad
idea. This is because `addTopDecls` is useful for generating new
definitions that get used right away. If region D isn't available when
type-checking region A, this isn't possible. Note that the fact that
region D isn't available when ''renaming'' A is OK, as Template Haskell
can use "exact" names.
But this still could be cleaned up.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10853#comment:4>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list