diff options
author | Vladislav Zavialov <vlad.z.4096@gmail.com> | 2019-10-07 13:57:59 +0300 |
---|---|---|
committer | Vladislav Zavialov <vlad.z.4096@gmail.com> | 2019-10-29 21:09:13 +0300 |
commit | 5298eb4e0ac41b35f250d32550ca2b51e82f1269 (patch) | |
tree | 185369383113ff83010598bba0ed1dd07aac38cb /compiler/utils/Dominators.hs | |
parent | 72f7ac9ad66b886f4ea9569446e20aa4f97890e4 (diff) | |
download | haskell-wip/whitespace-forward-compat.tar.gz |
Whitespace forward compatibility for proposal #229wip/whitespace-forward-compat
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 'compiler/utils/Dominators.hs')
-rw-r--r-- | compiler/utils/Dominators.hs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/compiler/utils/Dominators.hs b/compiler/utils/Dominators.hs index d6d8404564..485cc75995 100644 --- a/compiler/utils/Dominators.hs +++ b/compiler/utils/Dominators.hs @@ -364,11 +364,11 @@ domM = fetch domE rootM :: Dom s Node
rootM = gets rootE
succsM :: Node -> Dom s [Node]
-succsM i = gets (IS.toList . (!i) . succE)
+succsM i = gets (IS.toList . (! i) . succE)
predsM :: Node -> Dom s [Node]
-predsM i = gets (IS.toList . (!i) . predE)
+predsM i = gets (IS.toList . (! i) . predE)
bucketM :: Node -> Dom s [Node]
-bucketM i = gets (IS.toList . (!i) . bucketE)
+bucketM i = gets (IS.toList . (! i) . bucketE)
sizeM :: Node -> Dom s Int
sizeM = fetch sizeE
sdnoM :: Node -> Dom s Int
|