[commit: ghc] ghc-8.0: Fix layout of MultiWayIf expressions (#10807) (cb03d1c)
git at git.haskell.org
git at git.haskell.org
Sun Oct 2 01:42:05 UTC 2016
Repository : ssh://git@git.haskell.org/ghc
On branch : ghc-8.0
Link : http://ghc.haskell.org/trac/ghc/changeset/cb03d1ccd87a683cb7816a9d2d89a7722040c614/ghc
>---------------------------------------------------------------
commit cb03d1ccd87a683cb7816a9d2d89a7722040c614
Author: Ömer Sinan Ağacan <omeragacan at gmail.com>
Date: Mon Sep 26 17:09:01 2016 -0400
Fix layout of MultiWayIf expressions (#10807)
With this patch we stop generating virtual semicolons in MultiWayIf
guards. Fixes #10807.
Test Plan:
Reviewers: simonmar, austin, bgamari
Reviewed By: simonmar
Subscribers: mpickering, thomie
Differential Revision: https://phabricator.haskell.org/D2524
GHC Trac Issues: #10807
(cherry picked from commit c36904d66f30d4386a231ce365a056962a881767)
>---------------------------------------------------------------
cb03d1ccd87a683cb7816a9d2d89a7722040c614
compiler/parser/Lexer.x | 63 +++++++++++++---------
compiler/parser/Parser.y | 14 ++---
testsuite/tests/parser/should_run/T10807.hs | 43 +++++++++++++++
.../should_run/T10807.stdout} | 2 +
testsuite/tests/parser/should_run/all.T | 1 +
5 files changed, 87 insertions(+), 36 deletions(-)
Diff suppressed because of size. To see it, use:
git diff-tree --root --patch-with-stat --no-color --find-copies-harder --ignore-space-at-eol --cc cb03d1ccd87a683cb7816a9d2d89a7722040c614
More information about the ghc-commits
mailing list