From 4a01d6f86cc47b1cb17eedca5a7c88e8a9e753f2 Mon Sep 17 00:00:00 2001 From: jeaye Date: Thu, 2 Jan 2025 15:36:32 -0800 Subject: [PATCH] Add a default case for local_frame kind strs --- compiler+runtime/include/cpp/jank/analyze/expr/function.hpp | 5 +++++ compiler+runtime/include/cpp/jank/analyze/local_frame.hpp | 1 + 2 files changed, 6 insertions(+) diff --git a/compiler+runtime/include/cpp/jank/analyze/expr/function.hpp b/compiler+runtime/include/cpp/jank/analyze/expr/function.hpp index 158b52c7..36672494 100644 --- a/compiler+runtime/include/cpp/jank/analyze/expr/function.hpp +++ b/compiler+runtime/include/cpp/jank/analyze/expr/function.hpp @@ -10,6 +10,11 @@ namespace jank::analyze struct expression; } +namespace jank::runtime::obj +{ + using persistent_hash_map_ptr = native_box; +} + namespace jank::analyze::expr { using namespace jank::runtime; diff --git a/compiler+runtime/include/cpp/jank/analyze/local_frame.hpp b/compiler+runtime/include/cpp/jank/analyze/local_frame.hpp index f84ac864..c86ff08c 100644 --- a/compiler+runtime/include/cpp/jank/analyze/local_frame.hpp +++ b/compiler+runtime/include/cpp/jank/analyze/local_frame.hpp @@ -82,6 +82,7 @@ namespace jank::analyze case frame_type::finally: return "finally"; } + return "unknown"; } static constexpr native_bool pointer_free{ false };