Skip to content

Commit

Permalink
We also want a space here.
Browse files Browse the repository at this point in the history
athas committed Nov 3, 2024
1 parent b18567d commit 9db8668
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/Futhark/Fmt/Printer.hs
Original file line number Diff line number Diff line change
@@ -464,12 +464,7 @@ instance Format UncheckedSpec where
| null ps = fmtName bindingStyle name
| otherwise = fmtName bindingStyle name </> align (sep line $ map fmt ps)
fmt (ValSpec name ps te _ doc loc) =
addComments loc $
fmt doc
<> "val"
<+> sub
<> ":"
<+> fmt te
addComments loc $ fmt doc <> "val" <+> sub <+> ":" <+> fmt te
where
sub
| null ps = fmtName bindingStyle name

0 comments on commit 9db8668

Please sign in to comment.