document trying mechanism

This commit is contained in:
2026-05-03 22:05:54 +08:00
parent 0ecf01204e
commit 8192e60063
8 changed files with 56 additions and 28 deletions
+1 -1
View File
@@ -42,7 +42,7 @@ impl<'gc> crate::Vm<'gc> {
reader: &mut BytecodeReader<'_>,
mc: &gc_arena::Mutation<'gc>,
) -> Step {
let val = self.try_force::<StrictValue>(reader, mc)?;
let val = self.force_and_retry::<StrictValue>(reader, mc)?;
if val.is::<StringId>() || val.is::<NixString>() {
self.push(val.relax());
} else {