style: 自动格式化

This commit is contained in:
2026-06-14 17:21:49 +08:00
parent 8a8a6e055c
commit 111c61d4d7
23 changed files with 181 additions and 46 deletions
+4 -1
View File
@@ -18,7 +18,10 @@ pub fn symbol_constructor(vm: &mut Vm, args: &[u8]) -> NativeResult {
let sp = vm.session().builtin_world().symbol_proto.as_ptr() as *mut JsObject;
if std::ptr::eq(proto_ptr, sp) {
return NativeResult::Err(JsValue::string(
vm.kernel_core().string_forge().intern("TypeError: Symbol is not a constructor").0,
vm.kernel_core()
.string_forge()
.intern("TypeError: Symbol is not a constructor")
.0,
0,
));
}