fix: 修复 throw 未支持静默失败问题
This commit is contained in:
@@ -195,6 +195,9 @@ impl Compiler {
|
||||
// FD emits LOAD_CONST(BytecodeFunc) + STORE_VAR
|
||||
ctx.projected_pc += 2;
|
||||
}
|
||||
Statement::ThrowStatement(_) => {
|
||||
// throw not yet implemented; emit pass will error
|
||||
}
|
||||
_ => {}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user