Fixed multiline block for async functions

This commit is contained in:
Ron Buckton 2016-03-24 16:40:07 -07:00
parent af4580bbe3
commit 5443d309d5

View File

@ -2004,7 +2004,7 @@ namespace ts {
)
);
const block = createBlock(statements, /*location*/ node.body);
const block = createBlock(statements, /*location*/ node.body, /*multiLine*/ true);
// Minor optimization, emit `_super` helper to capture `super` access in an arrow.
// This step isn't needed if we eventually transform this to ES5.