6b12473f75
Calculation of element type for the value returned from async/async*/sync* functions was recently adjusted in the spec to address soundness issue (https://github.com/dart-lang/language/pull/3218). This change adjusts Dart VM to conform to the new spec. TEST=language/async/regression_54311_test TEST=co19/Language/Functions/element_type_* Fixes https://github.com/dart-lang/sdk/issues/54316 Issue https://github.com/dart-lang/sdk/issues/54311 Issue https://github.com/dart-lang/sdk/issues/54159 Change-Id: I4c51e7cba704d034350519375210bdb2086c5432 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/342082 Reviewed-by: Alexander Aprelev <aam@google.com> Reviewed-by: Erik Ernst <eernst@google.com> Commit-Queue: Alexander Markov <alexmarkov@google.com>