Skip to content

Commit 95c749f

Browse files
committed
Fix offside rule for backtick operators
1 parent ac53efa commit 95c749f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/PureScript/CST/Layout.purs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ insertLayout src@{ range, value: tok } nextPos stack =
263263
Tuple (Tuple _ LytTick : stk') acc' ->
264264
Tuple stk' acc' # insertToken src
265265
_ ->
266-
state # insertDefault # pushStack tokPos LytTick
266+
state # collapse offsideEndP # insertSep # insertToken src # pushStack tokPos LytTick
267267

268268
-- In general, commas should close all indented contexts.
269269
-- example = [ do foo

0 commit comments

Comments
 (0)