Skip to content

Commit dbafe1f

Browse files
committed
remove @[specialize]
1 parent e707306 commit dbafe1f

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

tests/lean/run/iterators.lean

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ section WellFoundedRecursion
4141
def sum (l : List Nat) : Nat :=
4242
go l.iter 0
4343
where
44-
@[specialize] -- The old code generator seems to need this.
4544
go it acc :=
4645
match it.step with
4746
| .yield it' out _ => go it' (acc + out)
@@ -71,7 +70,6 @@ section Take
7170
def sumTakeRec (l : List Nat) : Nat :=
7271
go (l.iter.take 2) 0
7372
where
74-
@[specialize] -- The old code generator seems to need this.
7573
go it acc :=
7674
match it.step with
7775
| .yield it' out _ => go it' (acc + out)

0 commit comments

Comments
 (0)