summaryrefslogtreecommitdiff
path: root/testsuite/tests/deSugar/should_compile/ds020.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/deSugar/should_compile/ds020.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/deSugar/should_compile/ds020.hs')
-rw-r--r--testsuite/tests/deSugar/should_compile/ds020.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/tests/deSugar/should_compile/ds020.hs b/testsuite/tests/deSugar/should_compile/ds020.hs
index c6d61461c3..a185ff2ce7 100644
--- a/testsuite/tests/deSugar/should_compile/ds020.hs
+++ b/testsuite/tests/deSugar/should_compile/ds020.hs
@@ -11,7 +11,7 @@ a ~(~[],~[],~[]) = []
b ~(x:xs:ys) = []
b ~(~x: ~xs: ~ys) = []
-c ~x ~ _ ~11111 ~3.14159265 = x
+c ~x ~_ ~11111 ~3.14159265 = x
d 11 = 4
d 12 = 3