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
The type of `ExpressionImpl.staticType` is changed from `DartType?` to
`TypeImpl?`, and the type of `ExpressionExtension.typeOrThrow` is
changed from `DartType` to `TypeImpl`.
To reduce the amount of casting required by these changes, a few other
changes are included:
- An additional extension `ExpressionImplExtension.typeOrThrow` is
added; this has the same behavior as
`ExpressionExtension.typeOrThrow`, but it doesn't require a type
cast.
- The type of `ErrorVerifier._typeProvider` is changed from
`TypeProvider` to `TypeProviderImpl`. This allows calling
`TypeProviderImpl` methods that are known to return `TypeImpl`.
This is part of a larger arc of work to change the analyzer's use of
the shared code so that the type parameters it supplies are not part
of the analyzer public API. See
#59763.
Change-Id: I066262462bad32f4715e9a4b78b5d6697480c036
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/405063
Commit-Queue: Paul Berry <[email protected]>
Reviewed-by: Konstantin Shcheglov <[email protected]>
0 commit comments