Rich-Harris / butternut

The fast, future-friendly minifier

Home Page:https://butternut.now.sh

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Identifier has already been declared issue

Wandalen opened this issue · comments

Hello. Does not work for me.
Is it possible to avoid the intrusion?

Identifier 'err' has already been declared (143193:14)
    143193 :           var err = _.err( err );
                           ^" 

How does the original code looks like that turns into this?

Here it is.
Hopefully it will help.

Thanks, here is the minimal reproduction step try{}catch(e){var e} , https://butternut.now.sh/?version=0.4.6&gist=0671af437ed65a86f92eb4fd5d1b5bdd

Looks like that.

This is a bug in acorn acornjs/acorn#548

I see.