[Webkit-unassigned] [Bug 142567] ES6 class syntax should use block scoping
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Mar 11 12:42:09 PDT 2015
https://bugs.webkit.org/show_bug.cgi?id=142567
--- Comment #2 from Erik Arvidsson <arv at chromium.org> ---
Awesome
My main concern is hoisting:
<script>
class B extends A {}
class A {}
</script>
Another thing that I think you mentioned would be to only allow class expressions to start with.
There are some subtleties regarding TDZ that you might want to keep in mind. All of these needs to have TDZ or you would be able to inspect a partially initialized constructor/prototype
class C extends func(C, Base) {}
class C {
a() {}
[func(C)]() {}
b() {}
}
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150311/0a745a1b/attachment-0002.html>
More information about the webkit-unassigned
mailing list