Closed shibukawa closed 10 years ago
@kazuho Is this esmangle issue? If so, feel free to file it to esmangle issues.
@Constellation I don't think so. JSX has a minified name generator class (https://github.com/jsx/JSX/blob/master/src/jsemitter.jsx#L502). This class should detect name conflict.
@shibukawa @Constellation Thank you for reporting the bug / looking into the issue.
The bug causing the issue is within the JSX compiler - the following conversion table is generated and used for converting property names; it is evident that the __export__
attribute is not handled correctly in this case.
a$ => _
_$ => A
In some case, minefield function name overwrite existing export function name.