Bug 177851 - Safari 10 /11 problem with if returning void await
Summary: Safari 10 /11 problem with if returning void await
Status: RESOLVED DUPLICATE of bug 176685
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: Safari 10
Hardware: Mac macOS 10.12.4
: P2 Critical
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2017-10-03 18:01 PDT by Pavel Klimashkin
Modified: 2023-10-11 17:06 PDT (History)
10 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pavel Klimashkin 2017-10-03 18:01:32 PDT
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
Comment 1 Pavel Klimashkin 2017-10-03 18:02:39 PDT
Also seems related to https://bugs.webkit.org/show_bug.cgi?id=176685
Comment 2 Alexey Proskuryakov 2017-10-09 10:20:16 PDT
Is this still happening now that bug 176685 is fixed? You can get the newest build from <https://webkit.org/build-archives/> to test.
Comment 3 Radar WebKit Bug Importer 2023-08-14 18:58:28 PDT
<rdar://problem/113884269>
Comment 4 Alexey Shvayka 2023-10-11 17:06:31 PDT

*** This bug has been marked as a duplicate of bug 176685 ***