style: 自动格式化

This commit is contained in:
2026-10-14 06:00:55 +00:00
parent a65689a19b
commit 05576fc406
+1 -2
View File
@@ -208,8 +208,7 @@ impl Vm {
} else { } else {
// 无函数体的函数对象(如 Function.prototype):IsConstructor 为假, // 无函数体的函数对象(如 Function.prototype):IsConstructor 为假,
// 按规范抛 TypeError(此前该分支不可达,报普通 Error 属内部错误)。 // 按规范抛 TypeError(此前该分支不可达,报普通 Error 属内部错误)。
self self.raise_type_error("NEW_EXPRESSION: constructor is not a constructor")
.raise_type_error("NEW_EXPRESSION: constructor is not a constructor")
.map(|_| true) .map(|_| true)
} }
} }