From 3a00b76cff12c8eaf5061a412588d4495dba57b4 Mon Sep 17 00:00:00 2001 From: Anders Hejlsberg Date: Wed, 22 Nov 2017 10:50:49 -0800 Subject: [PATCH] Add regression test --- tests/cases/compiler/parenthesizedAsyncArrowFunction.ts | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 tests/cases/compiler/parenthesizedAsyncArrowFunction.ts diff --git a/tests/cases/compiler/parenthesizedAsyncArrowFunction.ts b/tests/cases/compiler/parenthesizedAsyncArrowFunction.ts new file mode 100644 index 00000000000..00c1aca6533 --- /dev/null +++ b/tests/cases/compiler/parenthesizedAsyncArrowFunction.ts @@ -0,0 +1,3 @@ +// Repro from #20096 + +let foo = (async bar => bar);