mirror of
https://github.com/pjh456/OxideJS.git
synced 2026-10-23 18:21:13 +08:00
style: 自动格式化
This commit is contained in:
@@ -208,8 +208,7 @@ impl Vm {
|
||||
} else {
|
||||
// 无函数体的函数对象(如 Function.prototype):IsConstructor 为假,
|
||||
// 按规范抛 TypeError(此前该分支不可达,报普通 Error 属内部错误)。
|
||||
self
|
||||
.raise_type_error("NEW_EXPRESSION: constructor is not a constructor")
|
||||
self.raise_type_error("NEW_EXPRESSION: constructor is not a constructor")
|
||||
.map(|_| true)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user