#140 closed defect (wontfix)
Compressor doesn't handle variable replacement for eval() method
Reported by: | Owned by: | anonymous | |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | BuildTools | Version: | 0.1 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
For example, if you have:
function doTest(varName, typeNode){eval("this.do"+varName+"("+"varName"+","+"typeNode"+")");}
It get compressed to:
function doTest(_1,_2){eval("this.do"+_1+"("+"varName"+","+"typeNode"+")");}
This should be:
function doTest(_1,_2){eval("this.do"+_1+"("+"_1"+","+"_2"+")");}
Change History (2)
comment:1 Changed 15 years ago by
Milestone: | → 0.3release |
---|---|
Resolution: | → wontfix |
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
PHD's have lost their minds over this problem. We can't analyze enough of your tree to tell you what the value of those variables will be at runtime.
Marking wontfix.