Open GoogleCodeExporter opened 9 years ago
It is correct that this should not work but the error should really be a
reference error but without better let support that is not going to work.
In Chrome you can enable let by visiting chrome://flags and turn on
"Experimental JavaScript". After that you can try the following in the repl:
// Options: --block-binding=parse
'use strict';
let D = class extends C {}
let C = class {}
Now you will get a "ReferenceError: C is not defined"
Original comment by arv@google.com
on 4 Feb 2013 at 2:27
Also see bug 198 which is really the cause of this bug.
Original comment by arv@google.com
on 4 Feb 2013 at 2:30
Original issue reported on code.google.com by
david.le...@gmail.com
on 4 Feb 2013 at 6:42