[commit: ghc] master: Fix layout of MultiWayIf expressions (#10807) (c36904d)

git at git.haskell.org git at git.haskell.org
Mon Sep 26 21:10:47 UTC 2016


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/c36904d66f30d4386a231ce365a056962a881767/ghc

>---------------------------------------------------------------

commit c36904d66f30d4386a231ce365a056962a881767
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


>---------------------------------------------------------------

c36904d66f30d4386a231ce365a056962a881767
 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 c36904d66f30d4386a231ce365a056962a881767


More information about the ghc-commits mailing list