fix: 结构哈希补全全部变体(消除 code cache 确定性碰撞)

This commit is contained in:
爱特每羊队
2026-08-10 11:49:50 +08:00
parent 0b12e4df18
commit 56ef0efec5
6 changed files with 313 additions and 14 deletions
+3 -2
View File
@@ -5,8 +5,9 @@
//! `compiled_module_hash` 纳入绑定名(精确匹配避免错误复用)。
use oxide_parser::{
BindingPattern, ChainElement, ClassElement, Expression, ForStatementInit, ObjectPropertyKind, PropertyKey,
SimpleAssignmentTarget, Statement,
ArrayExpressionElement, BindingPattern, ChainElement, Class, ClassElement, Declaration, ExportDefaultDeclarationKind,
Expression, ForStatementInit, ForStatementLeft, Function, ImportDeclarationSpecifier, ModuleExportName,
ObjectPropertyKind, PropertyKey, SimpleAssignmentTarget, Statement,
};
use std::hash::Hash;