
#8384: -fwarn-empty-enumerations doesn't work with -fhpc ------------------------------------+------------------------------------- Reporter: rwbarton | Owner: Type: bug | Status: new Priority: low | Milestone: Component: Compiler | Version: 7.7 Keywords: | Operating System: Unknown/Multiple Architecture: Unknown/Multiple | Type of failure: None/Unknown Difficulty: Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | ------------------------------------+------------------------------------- It appears that tick insertion occurs before arithmetic sequences are desugared, so `warnAboutEmptyEnumerations` can't see the calls to `fromInteger`, because they have been wrapped in ticks already. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8384 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler