[Webkit-unassigned] [Bug 143038] New: ES6: Classes: Program level class expression throws exception in strict mode

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Mar 24 22:04:54 PDT 2015


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

            Bug ID: 143038
           Summary: ES6: Classes: Program level class expression throws
                    exception in strict mode
    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: joepeck at webkit.org
                CC: fpizlo at apple.com, ggaren at apple.com, rniwa at webkit.org

* SUMMARY
Program level class expression throws exception in strict mode.

* TEST
<script>
"use strict";
class MyClass { constructor() { } };
</script>

* EXPECTED
All is fine.

* ACTUAL
[Error] ReferenceError: Can't find variable: BaseNoReturn (foo.html, line 3)

-- 
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/20150325/75e1590a/attachment-0002.html>


More information about the webkit-unassigned mailing list