Skip to content

Commit

Permalink
fix --- when matching on STerm don't require comments to be empty
Browse files Browse the repository at this point in the history
  • Loading branch information
byorgey committed May 13, 2024
1 parent 19373da commit 3cb19bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/swarm-lang/Swarm/Language/Syntax.hs
Original file line number Diff line number Diff line change
Expand Up @@ -1235,7 +1235,7 @@ noLoc = Syntax mempty
-- | Match an untyped term without annotations.
pattern STerm :: Term -> Syntax
pattern STerm t <-
Syntax _ t
CSyntax _ t _
where
STerm t = Syntax mempty t

Expand Down

0 comments on commit 3cb19bb

Please sign in to comment.