From 9acf517ac24fea8c7396fc12f3d2ca982790ecf3 Mon Sep 17 00:00:00 2001 From: Christoph Hegemann <6189397+kritzcreek@users.noreply.github.com> Date: Sun, 29 Nov 2020 01:43:16 +0100 Subject: [PATCH] Typo spotted in jsParens (#4) --- src/Dodo/Common.purs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Dodo/Common.purs b/src/Dodo/Common.purs index 6bf63f3..f371789 100644 --- a/src/Dodo/Common.purs +++ b/src/Dodo/Common.purs @@ -50,4 +50,4 @@ jsParens :: forall a. Doc a -> Doc a jsParens = flexGroup <<< encloseEmptyAlt open close (text "()") <<< indent where open = flexAlt (text "(") (text "(" <> break) - close = flexAlt (text "(") (break <> text ")") + close = flexAlt (text ")") (break <> text ")")