Closed Bug 350652 Opened 18 years ago Closed 18 years ago

redeclaration error on try { } catch (e) { let e;}

Categories

(Core :: JavaScript Engine, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 349634

People

(Reporter: BijuMailList, Unassigned)

References

()

Details

by running Jesse's fuzzer (see bug 349611 ) found following....

function(){
  try{
  }catch(e){
   {
     let e
   }
  } 
}

uneval to ==>

function () {
    try {
    } catch (e) {
        let e;
    }
}

which compiles with error 
"redeclaration of variable e"
Summary: javascript:fn="function(){\n try{\n }catch(e){\n { let e }\n }\n}";alert(fn);alert(fn=''+eval(fn));try{alert(eval(fn))}catch(e){alert(e)} → redeclaration error on try { } catch (e) { let e;}
Please check for dups before filing these bugs.

/be

*** This bug has been marked as a duplicate of 349634 ***
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → DUPLICATE
(In reply to comment #1)
> Please check for dups before filing these bugs.

sorry...

wish https://bugzilla.mozilla.org/showdependencytree.cgi?id=349611 also had option for seeing bug "Description". 
bug 349634 "summary" did not help much

You need to log in before you can comment on or make changes to this bug.