-
Notifications
You must be signed in to change notification settings - Fork 13.2k
Closed
Labels
BugA bug in TypeScriptA bug in TypeScriptFix AvailableA PR has been opened for this issueA PR has been opened for this issue
Milestone
Description
TypeScript Version: 3.4.0-dev.201xxxxx
Search Terms:
Code
async function foo () {
const a: Promise<any> = f()
a./*here*/
}Expected behavior:
;(await a).xxxActual behavior:
async function foo () {
const a: Promise<any> = f()
(await a).xxx // asi broken here
}Playground Link:
https://twitter.com/Luxcium/status/1174602967053471744
Related Issues:
Luxcium
Metadata
Metadata
Assignees
Labels
BugA bug in TypeScriptA bug in TypeScriptFix AvailableA PR has been opened for this issueA PR has been opened for this issue