Skip to content

Commit

Permalink
update based on dev
Browse files Browse the repository at this point in the history
  • Loading branch information
TimWhiting committed Jan 13, 2024
1 parent 33e0b74 commit cf3e86b
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 11 deletions.
2 changes: 1 addition & 1 deletion src/Syntax/Pretty.hs
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ ppExpr env expr
Var na b ra -> ppName env na
Case ex brs ra -> keyword env "match" <+> ppExpr env ex <-> hang 2 (vcat (map (ppBranch env) brs))
Ann ex ty _ -> ppExpr env ex <+> text ":" <+> ppType env ty
Parens ex _ _ -> tupled [ppExpr env ex]
Parens ex _ _ _ -> tupled [ppExpr env ex]
Lit lit -> ppLit env lit
-- Not as sure about these
Let dg ex _ -> keyword env "val" <+> ppDefGroup env dg <+> text "=" <+> ppExpr env ex
Expand Down
8 changes: 0 additions & 8 deletions test/kind/deriving-help.kk

This file was deleted.

2 changes: 0 additions & 2 deletions test/kind/deriving.kk
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import deriving-help

// Simple struct
struct hello1
abc: int
Expand Down

0 comments on commit cf3e86b

Please sign in to comment.