Commit 6c122f9c authored by Krzysztof Gogolewski's avatar Krzysztof Gogolewski

Fix freezing on bare ')' with alternative layout rule (#8431)

Patch by errge
parent 896cee02
......@@ -2265,7 +2265,7 @@ alternativeLayoutRuleToken t
[] ->
do let ls = if isALRopen u
then [ALRNoLayout (containsCommas u) False]
else ls
else []
setALRContext ls
-- XXX This is an error in John's code, but
-- it looks reachable to me at first glance
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment