From 882968c68c79a0f285d59f4b7ea50a62dc9ba1b6 Mon Sep 17 00:00:00 2001 From: "Alex Lam S.L" Date: Sat, 19 Dec 2020 17:24:29 +0000 Subject: fix corner case in `inline` (#4418) fixes #4417 --- test/compress/async.js | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'test/compress') diff --git a/test/compress/async.js b/test/compress/async.js index 4fd16efd..d73bba41 100644 --- a/test/compress/async.js +++ b/test/compress/async.js @@ -597,3 +597,25 @@ issue_4406: { expect_stdout: "PASS" node_version: ">=8" } + +issue_4417: { + options = { + inline: true, + } + input: { + (async function() { + console.log(function() { + return await => 0; + }().prototype); + })(); + } + expect: { + (async function() { + console.log(function() { + return await => 0; + }().prototype); + })(); + } + expect_stdout: "undefined" + node_version: ">=8" +} -- cgit v1.2.3 stomized Guix
aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/tbb.scm
AgeCommit message (Expand)Author