| Summary: | Deconstruction parameters are bound too late | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Saam Barati <saam> | ||||||
| Component: | JavaScriptCore | Assignee: | Saam Barati <saam> | ||||||
| Status: | RESOLVED FIXED | ||||||||
| Severity: | Normal | CC: | fpizlo, ggaren, mark.lam, mmirman, msaboff, oliver | ||||||
| Priority: | P2 | ||||||||
| Version: | 528+ (Nightly build) | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Attachments: |
|
||||||||
Created attachment 249617 [details]
WIP
Waiting on a build to get tests results populated.
Created attachment 249634 [details]
patch
Comment on attachment 249634 [details]
patch
R=me.
landed in: http://trac.webkit.org/changeset/182109 |
consider: ``` function test({arg}) { print(arg); function arg(){} } test({}) ``` Should print the function, not undefined. This is a simple fix in BytecodeGenerator::generate