swc had a serious bug bug.
which is wrong. By tracking idetifier usages in nested function,
swc now emits correct output.
New output is very simillar to the one of
Use-use conflict detection introduced in
v1.1.14 had a serious bug. Some identifiers like
Object are inherently used multiple time. It resulted in an use-use conflict and there was a bug.
By making an use-bind conflict for global objects,
swc can handle a code like
It will be compiled as
to make other usages of native identifier safe.