fix: 修复 throw 未支持静默失败问题

This commit is contained in:
2026-06-07 19:35:12 +08:00
parent 92bf2e68fb
commit 3c641313cd
4 changed files with 15 additions and 0 deletions
+3
View File
@@ -116,6 +116,9 @@ fn hash_statement(stmt: &Statement, h: &mut rustc_hash::FxHasher) {
}
}
}
Statement::ThrowStatement(_ts) => {
14u8.hash(h);
}
_ => {
std::mem::discriminant(stmt).hash(h);
}