
#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 rwbarton): Well, DataKinds does always promote to `'S`. It just also promotes to `S`. But you could avoid ever using the un-`'`ed form of a promoted constructor; that's up to you. Are you asking for a `-fwarn-implicit- promoted-constructors`? That should probably not be the default, as the currently common style is not to write `'True` and `'False` everywhere. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9778#comment:6 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler