Skip to content

Commit cfd282c

Browse files
committed
Surround named binding with parens
There is no semantic difference in the code here. In 0.12.x, it parses fine. In 0.13.x, it fails to parse. To make this version of the code work with both versions, we wrap this named binding with parens.
1 parent ab96274 commit cfd282c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Halogen/VDom/DOM.purs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ buildElem = render
9797
let
9898
node = DOMElement.toNode el
9999
onChild = EFn.mkEffectFn2 \ix child → do
100-
res@Step n m h ← EFn.runEffectFn1 build child
100+
res@(Step n m h)EFn.runEffectFn1 build child
101101
EFn.runEffectFn3 Util.insertChildIx ix n node
102102
pure res
103103
steps ← EFn.runEffectFn2 Util.forE ch1 onChild

0 commit comments

Comments
 (0)