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
If there is another call in the chain after the .catch() we are transforming, we will need to save the result of both paths (try block and catch block)
261
-
To do this, we will need to synthesize a variable that we were not aware of while we were adding identifiers to the synthNamesMap
262
-
We will use the prevArgName and then update the synthNamesMap with a new variable name for the next transformation step
263
-
*/
258
+
// If there is another call in the chain after the .catch() we are transforming, we will need to save the result of both paths (try block and catch block)
259
+
// To do this, we will need to synthesize a variable that we were not aware of while we were adding identifiers to the synthNamesMap
260
+
// We will use the prevArgName and then update the synthNamesMap with a new variable name for the next transformation step
In order to avoid an implicit any, we will synthesize a type for the declaration using the unions of the types of both paths (try block and catch block)
292
-
*/
287
+
// In order to avoid an implicit any, we will synthesize a type for the declaration using the unions of the types of both paths (try block and catch block)
0 commit comments