[Webkit-unassigned] [Bug 152575] New: [ES6] Arrow function syntax. Lexical bind "arguments" inside of the generator.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Dec 28 10:15:06 PST 2015


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

            Bug ID: 152575
           Summary: [ES6] Arrow function syntax. Lexical bind "arguments"
                    inside of the generator.
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: gskachkov at gmail.com

We need support following case in lexical bind arguments in arrow function:

class B {
    gen() {
        return 42;
    }
}

class A extends B {
    *gen() {
        let arr = () => super.gen();
        return arr();
    }
}

typeof a.gen().next() === 'array';

-- 
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/20151228/47463b2f/attachment-0001.html>


More information about the webkit-unassigned mailing list