diff options
author | Vladislav Zavialov <vlad.z.4096@gmail.com> | 2019-10-07 13:57:59 +0300 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2019-10-30 07:36:50 -0400 |
commit | 3e7569bcd4a88ba45d2c40b0904c587c2edf4972 (patch) | |
tree | 26fb12e13649adebffd4aa11fe33c51fc68ce28e /testsuite/tests/programs | |
parent | 93ff91978be67920c7e3657c077ca14c5d6c09bc (diff) | |
download | haskell-3e7569bcd4a88ba45d2c40b0904c587c2edf4972.tar.gz |
Whitespace forward compatibility for proposal #229
GHC Proposal #229 changes the lexical rules of Haskell, which may
require slight whitespace adjustments in certain cases.
This patch changes formatting in a few places in GHC and its testsuite
in a way that enables it to compile under the proposed rules.
Diffstat (limited to 'testsuite/tests/programs')
-rw-r--r-- | testsuite/tests/programs/strict_anns/Main.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuite/tests/programs/strict_anns/Main.hs b/testsuite/tests/programs/strict_anns/Main.hs index d9deac65f6..dcd9103fa0 100644 --- a/testsuite/tests/programs/strict_anns/Main.hs +++ b/testsuite/tests/programs/strict_anns/Main.hs @@ -3,9 +3,9 @@ module Main where -data Foo1 = Crunch1 ! Int ! Int Int deriving( Show ) +data Foo1 = Crunch1 !Int !Int Int deriving( Show ) -data Foo2 = Crunch2 ! Int Int Int deriving( Show ) +data Foo2 = Crunch2 !Int Int Int deriving( Show ) main = do print (Crunch1 (1+1) (2+2) (3+3)) |