mirror of
https://github.com/pjh456/OxideJS.git
synced 2026-10-25 11:11:11 +08:00
fix: 默认导出匿名函数与类设置隐式名
This commit is contained in:
@@ -32,7 +32,7 @@ impl Emitter {
|
||||
};
|
||||
// 类名绑定在 emit_class_with_binding 内于 extends 求值后初始化:
|
||||
// 先声明未初始化绑定(TDZ),extends 引用类名按规范抛 ReferenceError。
|
||||
self.emit_class_with_binding(class, ctx, Some(var_reg))?;
|
||||
self.emit_class_with_binding(class, ctx, Some(var_reg), None)?;
|
||||
Ok(None)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user