provegard / ncdbg

A debugger for Nashorn that uses Chrome DevTools as frontend
BSD 3-Clause "New" or "Revised" License
31 stars 5 forks source link

It's possible to assign a value to a const local #45

Closed provegard closed 7 years ago

provegard commented 7 years ago

Assigning to a const local should be rejected.

provegard commented 7 years ago

Chrome allows this too, and it's not easy to figure out if a local variable is const in the bytecode, so closing this.