Skip to content

Commit 3537c61

Browse files
committed
ES: fixed a test in CSESpec
1 parent cc06b4c commit 3537c61

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

grin/test/Transformations/Optimising/CSESpec.hs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,8 @@ spec = do
261261
pure n2
262262
(CBox a2) ->
263263
n3 <- pure (CBox a2)
264-
pure (CFoo)
264+
-- NOTE: this rewrite is valid, since this alternative is dead anyways
265+
pure n1
265266
#default ->
266267
n4 <- pure n1
267268
pure n4

0 commit comments

Comments
 (0)