Skip to content

Commit

Permalink
Fix bug in iter.last
Browse files Browse the repository at this point in the history
  • Loading branch information
bamless committed Feb 14, 2024
1 parent e73dbbd commit 518d0c4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file modified src/lib/core/iter.jsc
Binary file not shown.
2 changes: 1 addition & 1 deletion src/lib/core/iter.jsr
Expand Up @@ -412,7 +412,7 @@ fun last(iterable)
if !found
raise IndexOutOfBoundException()
end
return last
return elem
end

fun count(iterable)
Expand Down

0 comments on commit 518d0c4

Please sign in to comment.