Skip to content

Commit ceecbaf

Browse files
committed
Handle fallback for nth
Closes #275
1 parent fe32c9d commit ceecbaf

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
@@ -817,7 +817,7 @@ namespace jank::runtime
817817
}
818818
else if(o == obj::nil::nil_const())
819819
{
820-
return o;
820+
return fallback;
821821
}
822822

823823
return visit_object(

0 commit comments

Comments
 (0)