
#14613: Validate Failure On OSX -- implicit fall through error for machO linker support (master == ghc8.5) -------------------------------------+------------------------------------- Reporter: carter | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.3 (Linking) | Resolution: | Keywords: Operating System: MacOS X | Architecture: x86_64 | (amd64) Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by erikd): There's a way nicer fix, to add a comment/annotation: {{{ /* Falls through. */ }}} at the line where a `break;` statement might otherwise go. For example: https://github.com/erikd/libsndfile/blob/master/src/aiff.c#L852 -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14613#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler