fix: fmt 收口与 clippy ptr_eq 收敛,padStart 测试期望对齐码元口径

This commit is contained in:
2026-09-25 04:59:19 +00:00
parent 601d231ba2
commit d4ed76855e
9 changed files with 62 additions and 63 deletions
+1 -3
View File
@@ -44,9 +44,7 @@ pub fn async_generator_function_constructor<H: VmHost>(vm: &mut H, args: &[u8])
/// 无实参时函数体为空串。实参转单元序列后经 `source_escape` 源码域转义再
/// 动态编译(`is_generator` / `is_async` 决定 wrap 源码函数形态)。
/// 编译成功返回函数对象,语法错误抛 SyntaxError,实参 ToPrimitive 失败抛 TypeError。
fn dynamic_function_core<H: VmHost>(
vm: &mut H, arg_regs: &[u8], is_generator: bool, is_async: bool,
) -> NativeResult {
fn dynamic_function_core<H: VmHost>(vm: &mut H, arg_regs: &[u8], is_generator: bool, is_async: bool) -> NativeResult {
let (param_regs, body_reg) = if arg_regs.is_empty() {
(vec![], None)
} else {