Skip to content

fix mangling collision with keep_fnames (take 2)#1432

Closed
alexlamsl wants to merge 1 commit intomishoo:masterfrom
alexlamsl:keep_fnames2
Closed

fix mangling collision with keep_fnames (take 2)#1432
alexlamsl wants to merge 1 commit intomishoo:masterfrom
alexlamsl:keep_fnames2

Conversation

@alexlamsl
Copy link
Copy Markdown
Collaborator

@alexlamsl
Copy link
Copy Markdown
Collaborator Author

@kzc so this is the second attempt at fixing #1423

Aside from more code, turns out this doesn't just produce more optimal mangled result, but also fixed two extra corner cases I've come up with when keep_fnames = true. If you can verify no performance regression of keep_fnames = false I'd be grateful.

@kzc
Copy link
Copy Markdown
Contributor

kzc commented Jan 20, 2017

wrong test name: test/compress/issue-1423.js

should be 1432.js

@kzc
Copy link
Copy Markdown
Contributor

kzc commented Jan 20, 2017

This PR is also fine. Default mangle speed is the same as uglify-js@2.7.5.

Could you please move this fix into #1431 and close this PR?

@alexlamsl alexlamsl closed this Jan 20, 2017
@alexlamsl alexlamsl deleted the keep_fnames2 branch January 20, 2017 18:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants