You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix promise then chaining and disallow using try/catch in 5.1 in async and generator functions (TypeScriptToLua#1150)
* Make await throw if awaited thing is a rejected promise
* fix almost all tests
* Also fix lambas in async
* Fix bug in try/catch adding extra return twice
* Fix prettier
* Add failing tests
* Add diagnostic to prevent 5.1 users from trying to use try/catch in async function
* Diagnostic for try/catch in generator or async function in 5.1
* Fix missing case in promise then
0 commit comments