implement __functor

This commit is contained in:
2026-05-04 18:24:33 +08:00
parent 62d65b2e5f
commit 4aff27142c
7 changed files with 79 additions and 8 deletions
+4
View File
@@ -223,6 +223,8 @@ pub struct Vm<'gc> {
#[collect(require_static)]
result: Option<Result<fix_common::Value>>,
functor_sym: StringId,
}
enum OperandData {
@@ -340,6 +342,8 @@ impl<'gc> Vm<'gc> {
force_mode,
result: None,
functor_sym: ctx.intern_string("__functor"),
}
}