We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cc781eb commit 4c9dab3Copy full SHA for 4c9dab3
src/Dodo.purs
@@ -397,12 +397,12 @@ print (Printer printer) opts = flip go initState <<< pure <<< Doc
397
{ flexGroup = FlexGroupPending
398
}
399
FlexGroupPending | state.position.ribbonWidth > 0 ->
400
- go (Doc doc1 : stk) state
+ go (Doc doc1 : Doc doc2 : stk) state
401
{ flexGroup = FlexGroupReset $ storeState stack state
402
, buffer = Buffer.branch state.buffer
403
404
_ ->
405
406
FlexAlt flexDoc doc1 -> case state.flexGroup of
407
FlexGroupReset _ ->
408
go (Doc flexDoc : stk) state
0 commit comments