#10807: PatternGuards and MultiWayIf layout rules -------------------------------------+------------------------------------- Reporter: htebalaka | Owner: (none) Type: bug | Status: closed Priority: lowest | Milestone: 8.0.2 Component: Compiler | Version: 7.10.2 (Parser) | Resolution: fixed | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: Documentation | Unknown/Multiple bug | Test Case: Blocked By: | Blocking: Related Tickets: #7783 | Differential Rev(s): Phab:D2524 Wiki Page: | -------------------------------------+------------------------------------- Comment (by Ben Gamari <ben@…>): In [changeset:"b0ed07fafbe96c3eee6c7f41ef937973bedbf1dc/ghc" b0ed07fa/ghc]: {{{ #!CommitTicketReference repository="ghc" revision="b0ed07fafbe96c3eee6c7f41ef937973bedbf1dc" Allow TcDerivInfer to compile with GHC 8.0.1 As of ed7a830de6a2ea74dd6bb81f8ec55b9fe0b52f28 this module uses MultiWayIf, the parsing behavior of which changed in 8.0.2 due to #10807. Reformat the code so that it compiles under both 8.0.1 and 8.0.2/8.2.1. Test Plan: Validate bootstrapping with 8.0.1 Reviewers: austin Subscribers: rwbarton, thomie, RyanGlScott GHC Trac Issues: #14130 Differential Revision: https://phabricator.haskell.org/D3863 }}} -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10807#comment:11> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler