[GHC] #9778: Namespace collision detection for promoted types
GHC
ghc-devs at haskell.org
Sat Nov 8 23:26:10 UTC 2014
#9778: Namespace collision detection for promoted types
-------------------------------------+-------------------------------------
Reporter: crockeea | Owner:
Type: feature | Status: new
request | Milestone:
Priority: normal | Version: 7.8.3
Component: Compiler | Keywords:
Resolution: | Architecture: Unknown/Multiple
Operating System: | Difficulty: Unknown
Unknown/Multiple | Blocked By:
Type of failure: | Related Tickets:
None/Unknown |
Test Case: |
Blocking: |
Differential Revisions: |
-------------------------------------+-------------------------------------
Comment (by crockeea):
@rwbarton `-fwarn-implicit-promoted-constructors` is an interesting
suggestion. Just to be clear, I'm imagining that such an option would
result in a warning whenever `S` is written but it refers to the same type
as a `'S` promoted constructor.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9778#comment:7>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list