From a2ff9dbfb00c0e591c68fba779b7220608f71d3b Mon Sep 17 00:00:00 2001 From: Ambrose Bonnaire-Sergeant Date: Wed, 12 Feb 2025 00:07:01 -0600 Subject: [PATCH] fix --- compiler+runtime/src/cpp/jank/runtime/obj/lazy_sequence.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler+runtime/src/cpp/jank/runtime/obj/lazy_sequence.cpp b/compiler+runtime/src/cpp/jank/runtime/obj/lazy_sequence.cpp index d22287bd2..caaccc26d 100644 --- a/compiler+runtime/src/cpp/jank/runtime/obj/lazy_sequence.cpp +++ b/compiler+runtime/src/cpp/jank/runtime/obj/lazy_sequence.cpp @@ -160,7 +160,7 @@ namespace jank::runtime::obj lazy_sequence_ptr lazy_sequence::with_meta(object_ptr const m) const { resolve_seq(); - auto const s(runtime::fresh_seq(sequence)); + auto const s(sequence ? runtime::fresh_seq(sequence) : nil::nil_const()); auto const ret(make_box(nullptr, s==nil::nil_const() ? nullptr : s)); auto const meta(behavior::detail::validate_meta(m)); ret->meta = meta;