Bug 177851 - Safari 10 /11 problem with if returning void await
Summary: Safari 10 /11 problem with if returning void await
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: Safari 10
Hardware: Mac macOS 10.12.4
: P2 Critical
Assignee: Nobody
Depends on:
Reported: 2017-10-03 18:01 PDT by Pavel Klimashkin
Modified: 2017-10-09 10:20 PDT (History)
7 users (show)

See Also:


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();

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.