Skip to content

Commit 1603750

Browse files
committed
Handle fallback for nth
Closes #275
1 parent 5e8c702 commit 1603750

File tree

1 file changed

+1
-1
lines changed
  • compiler+runtime/src/cpp/jank/runtime/core

1 file changed

+1
-1
lines changed

compiler+runtime/src/cpp/jank/runtime/core/seq.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -826,7 +826,7 @@ namespace jank::runtime
826826
}
827827
else if(o == obj::nil::nil_const())
828828
{
829-
return o;
829+
return fallback;
830830
}
831831

832832
return visit_object(

0 commit comments

Comments
 (0)