Uh oh!
There was an error while loading. Please reload this page.
Add error for missing await in conditionals - #39175
Conversation
TypeScript Bot (@typescript-bot) test this |
Heya Daniel Rosenwasser (@DanielRosenwasser), I've started to run the extended test suite on this PR at 49ee464. You can monitor the build here. |
Heya Daniel Rosenwasser (@DanielRosenwasser), I've started to run the perf test suite on this PR at 49ee464. You can monitor the build here. Update: The results are in! |
Heya Daniel Rosenwasser (@DanielRosenwasser), I've started to run the parallelized community code test suite on this PR at 49ee464. You can monitor the build here. |
TypeScript Bot (@typescript-bot) pack this |
Heya Daniel Rosenwasser (@DanielRosenwasser), I've started to run the tarball bundle task on this PR at 49ee464. You can monitor the build here. |
Hey Daniel Rosenwasser (@DanielRosenwasser), I've packed this into an installable tgz. You can install it for testing by referencing it in your and then running There is also a playground for this build. |
TypeScript Bot (typescript-bot)
commented
Jun 22, 2020
The user suite test run you requested has finished and failed. I've opened a PR with the baseline diff from master. |
TypeScript Bot (typescript-bot)
commented
Jun 22, 2020
Daniel Rosenwasser (@DanielRosenwasser) Here they are:Comparison Report - master..39175
System
Hosts
Scenarios
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Jack Works (Jack-Works)
commented
Jun 23, 2020
https://github.com/typescript-bot/TypeScript/pull/49/files#diff-0e62d568d28b82cee9e66b2b8fafd290R7 Is this a possible bug in vscode? 🤔 |
Matt Bierner (@mjbvz) if we can get some of the numbers down, we'd like to get this merged in for a future release. Like Jack Works (@Jack-Works) mentioned, I think this check might've caught a potential bug in VS Code in an un-awaited promise. |
Matt Bierner (mjbvz)
commented
Jun 23, 2020
Thanks Jack Works (@Jack-Works)! The error in The error in |
Jack Works (Jack-Works)
commented
Jun 24, 2020
Another question, should it behave like the check to function? If the variable is undefined | Promise, and use as a if condition. If it is not used in the if body, should it be an error? |
Jack Works (Jack-Works)
commented
Jul 16, 2020
How's going 👀 |
49ee464 to
8c97320CompareTypeScript Bot (typescript-bot)
commented
Nov 12, 2020
This PR doesn't have any linked issues. Please open an issue that references this PR. From there we can discuss and prioritise. |
Jack Works (Jack-Works)
commented
Nov 12, 2020
rebased to master and merge conflict resolved |
TypeScript Bot (typescript-bot)
commented
Nov 12, 2020
The TypeScript team hasn't accepted the linked issue #25330. If you can get it accepted, this PR will have a better chance of being reviewed. |
8c97320 to
f55a7c7CompareJack Works (Jack-Works)
commented
Jan 21, 2021
rebased to master and merge conflict resolved |
f55a7c7 to
d345d44CompareJack Works (Jack-Works)
commented
Feb 6, 2021
rebased to master and conflict resolved |
Eli Barzilay (elibarzilay)
left a comment
There was a problem hiding this comment.
See the comments.
(Another pickiness: the title of the PR and the commit could be better, since it's not only in if statements. The title of the linked issue is probably good for this PR too.)
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
212ceb6 to
bcbe12dCompareEli Barzilay (elibarzilay)
commented
Feb 16, 2021
Rebased, resolved conflicts, squashed; re-edited the PR subject and the commit message. |
close#25330