Reproduction link or steps
REPL
What is expected?
The output to not reference c_num and d_num or them to be declared.
What is actually happening?
The output to references c_num and d_num, which is not declared.
System Info
Any additional comments?
esbuild try
Found in https://github.com/rolldown/rolldown/tree/main/crates/rolldown/tests/esbuild/ts/ts_enum_cross_module_inlining_access
Reproduction link or steps
REPL
What is expected?
The output to not reference
c_numandd_numor them to be declared.What is actually happening?
The output to references
c_numandd_num, which is not declared.System Info
Any additional comments?
esbuild try
Found in https://github.com/rolldown/rolldown/tree/main/crates/rolldown/tests/esbuild/ts/ts_enum_cross_module_inlining_access