Skip to content

Commit

Permalink
Add a default case for local_frame kind strs
Browse files Browse the repository at this point in the history
  • Loading branch information
jeaye committed Jan 2, 2025
1 parent 2ca9888 commit 4a01d6f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions compiler+runtime/include/cpp/jank/analyze/expr/function.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ namespace jank::analyze
struct expression;
}

namespace jank::runtime::obj
{
using persistent_hash_map_ptr = native_box<struct persistent_hash_map>;
}

namespace jank::analyze::expr
{
using namespace jank::runtime;
Expand Down
1 change: 1 addition & 0 deletions compiler+runtime/include/cpp/jank/analyze/local_frame.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ namespace jank::analyze
case frame_type::finally:
return "finally";
}
return "unknown";
}

static constexpr native_bool pointer_free{ false };
Expand Down

0 comments on commit 4a01d6f

Please sign in to comment.