summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/tcfail112.hs
diff options
context:
space:
mode:
authorVladislav Zavialov <vlad.z.4096@gmail.com>2019-10-07 13:57:59 +0300
committerMarge Bot <ben+marge-bot@smart-cactus.org>2019-10-30 07:36:50 -0400
commit3e7569bcd4a88ba45d2c40b0904c587c2edf4972 (patch)
tree26fb12e13649adebffd4aa11fe33c51fc68ce28e /testsuite/tests/typecheck/should_fail/tcfail112.hs
parent93ff91978be67920c7e3657c077ca14c5d6c09bc (diff)
downloadhaskell-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/typecheck/should_fail/tcfail112.hs')
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail112.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/tests/typecheck/should_fail/tcfail112.hs b/testsuite/tests/typecheck/should_fail/tcfail112.hs
index 5252f83b14..71f3dd4305 100644
--- a/testsuite/tests/typecheck/should_fail/tcfail112.hs
+++ b/testsuite/tests/typecheck/should_fail/tcfail112.hs
@@ -4,7 +4,7 @@
module ShouldFail where
-data S = S { x::Int, y:: ! Int }
+data S = S { x::Int, y:: !Int }
data T = T Int !Int
data U = U Int Int