1a6420b883
Closes https://github.com/dart-lang/sdk/issues/43225 JS calls on promises need to include a type description for types that may be newly live after the call. Since type parameters in a promise are not parsed, type dictionary for these APIs is updated to include any possible types created and code gen is changed to include them in the JS foreign function call. Change-Id: I8c977e4b33b383093e4091f1be94199b342521b6 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/160781 Reviewed-by: Stephen Adams <sra@google.com> Commit-Queue: Srujan Gaddam <srujzs@google.com>