Skip to content
This repository was archived by the owner on Aug 18, 2025. It is now read-only.

Commit ff58172

Browse files
committed
修改执行结果类型,将 ExecutionResult::Continue 更改为 ExecutionResult::None,以更准确地表示执行状态。
1 parent e52929b commit ff58172

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/interpreter/statement_executor.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -789,15 +789,15 @@ impl<'a> Interpreter<'a> {
789789
// 更新变量
790790
self.set_variable(var_name, Value::Object(obj));
791791

792-
ExecutionResult::Continue
792+
ExecutionResult::None
793793
} else {
794794
// 对象不存在或类型错误
795-
ExecutionResult::Continue
795+
ExecutionResult::None
796796
}
797797
},
798798
_ => {
799799
// 暂时不支持复杂的对象表达式
800-
ExecutionResult::Continue
800+
ExecutionResult::None
801801
}
802802
}
803803
}

0 commit comments

Comments
 (0)