[Webkit-unassigned] [Bug 144282] New: ES6 classe: new super is not allowed

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Apr 27 15:17:49 PDT 2015


https://bugs.webkit.org/show_bug.cgi?id=144282

            Bug ID: 144282
           Summary: ES6 classe: new super is not allowed
    Classification: Unclassified
           Product: WebKit
           Version: 528+ (Nightly build)
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: arv at chromium.org

http://trac.webkit.org/browser/trunk/LayoutTests/js/script-tests/class-syntax-super.js#L44

shouldNotThrow('x = class extends Base { constructor() { super(); } method() { return new super } }');

This is invalid. `new super` is not allowed.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150427/23186cc5/attachment-0001.html>


More information about the webkit-unassigned mailing list