Commit a6a4959c authored by Ian Lynagh's avatar Ian Lynagh
Browse files

Fix a bug in alternative layout rule

parent 9568347e
......@@ -2018,6 +2018,7 @@ alternativeLayoutRuleToken t
return (L thisLoc ITsemi)
| newLine && thisCol < col ->
do setALRContext ls
setNextToken t
-- Note that we use lastLoc, as we may need to close
-- more layouts, or give a semicolon
return (L lastLoc ITccurly)
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