
#14544: doCorePass has at least one missing case -------------------------------------+------------------------------------- Reporter: mpickering | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.2.1 Resolution: | Keywords: newcomer 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 sjakobi): There are more missing cases: `CoreDesugar`, `CoreDesugarOpt`, `CoreTidy`, `CorePrep`, and – depending on CPP – `CoreDoPluginPass`. Deleting the `CoreOccurAnal` constructor would be easy, but the other ones are actually in use. A first step might be to expand the catch-all to make sure that additional constructors aren't forgotten in the same way. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14544#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler