Skip to content
This repository was archived by the owner on Apr 1, 2025. It is now read-only.

Commit 9eae24e

Browse files
committed
Recur through annotations.
1 parent aa1e36b commit 9eae24e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

semantic-core/src/Data/Core.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ annWith callStack = maybe id (fmap send . Ann) (stackLoc callStack)
197197
stripAnnotations :: (Member Core sig, Syntax sig) => Term sig a -> Term sig a
198198
stripAnnotations (Var v) = Var v
199199
stripAnnotations (Term t)
200-
| Just c <- prj t, Ann _ b <- c = b
200+
| Just c <- prj t, Ann _ b <- c = stripAnnotations b
201201
| otherwise = Term (hmap stripAnnotations t)
202202

203203

0 commit comments

Comments
 (0)