feat: introduce reference thing type

Closes: #32
This commit is contained in:
2026-07-01 16:56:57 +02:00
parent 482ab859ed
commit 3d461048cc
2 changed files with 104 additions and 26 deletions
+1 -1
View File
@@ -91,7 +91,7 @@ void executor::step() {
switch (instr) {
case instruction_t::NoOperation: break;
case instruction_t::PushB2I: {
push_thing({ IntType, m_context->thing_alloc() })->get<int_t>() = frame.mod->byte(frame.position++);
push_thing({ intType, m_context->thing_alloc() })->get<int_t>() = frame.mod->byte(frame.position++);
} break;
case instruction_t::Drop: {
pop_thing();