fix(emit): 括号包裹的匿名函数参与 name 推断(is_anonymous_function_definition)

This commit is contained in:
爱特每羊队
2026-08-07 20:27:49 +08:00
parent b64849cdb0
commit fec6b68ecb
6 changed files with 21 additions and 27 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ pub mod shared;
pub mod stmt;
pub mod symbol_table;
pub use emit::{is_int_literal, is_side_effect_free};
pub use emit::{is_anonymous_function_definition, is_int_literal, is_side_effect_free};
pub use emit::{CompileCtx, Emitter, FunctionBodyContext, LabelScope, ParamSpec};
pub use oxide_bytecode::module::Constant;
pub use oxide_parser::{AssignmentOperator, BinaryOperator, UnaryOperator};