mirror of
https://github.com/dart-lang/sdk
synced 2024-09-18 21:11:19 +00:00
99919c69ba
This change moves the `variableType` method from the class `TypeOperations` to a new class, `VariableOperations`, which in turn allows removing the type parameter `Variable` parameter from `TypeOperations`. A new class, `Operations`, is introduced to serve the role served previously by `TypeOperations` for flow analysis clients (i.e. it is the base class that clients should extend). This paves the way for a future CL that will remove the type parameter `Variable` from other classes inside flow analysis. Bug: https://github.com/dart-lang/language/issues/2020 Change-Id: Ic45d07a0f873b692fda4b6f807c1130ac592b010 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/250108 Reviewed-by: Johnni Winther <johnniwinther@google.com> Commit-Queue: Paul Berry <paulberry@google.com> Reviewed-by: Konstantin Shcheglov <scheglov@google.com> |
||
---|---|---|
.. | ||
src | ||
fix_reason_target.dart | ||
instrumentation.dart | ||
migration_cli.dart | ||
nnbd_migration.dart | ||
nullability_state.dart |