Bug 177851
Summary: | Safari 10 /11 problem with if returning void await | ||
---|---|---|---|
Product: | WebKit | Reporter: | Pavel Klimashkin <klimashkin> |
Component: | JavaScriptCore | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED DUPLICATE | ||
Severity: | Critical | CC: | ap, ashvayka, fpizlo, gskachkov, joepeck, klimashkin, mark.lam, saam, webkit-bug-importer, ysuzuki |
Priority: | P2 | Keywords: | InRadar |
Version: | Safari 10 | ||
Hardware: | Mac | ||
OS: | macOS 10.12.4 | ||
See Also: | https://bugs.webkit.org/show_bug.cgi?id=176685 |
Pavel Klimashkin
Safari fails on
(async e => {
if (void 0) return void await s.async.side.effect();
s.another.method();
})();
Described fully here https://github.com/mishoo/UglifyJS2/issues/2344
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Pavel Klimashkin
Also seems related to https://bugs.webkit.org/show_bug.cgi?id=176685
Alexey Proskuryakov
Is this still happening now that bug 176685 is fixed? You can get the newest build from <https://webkit.org/build-archives/> to test.
Radar WebKit Bug Importer
<rdar://problem/113884269>
Alexey Shvayka
*** This bug has been marked as a duplicate of bug 176685 ***