commit | dc2d7058e2247c40c23a2df951ab83630207c75a | [log] [tgz] |
---|---|---|
author | Konstantin Shcheglov <scheglov@google.com> | Sat Mar 06 06:23:25 2021 +0000 |
committer | dart-luci-ci-builder <dart-luci-ci-builder@dart-ci.iam.gserviceaccount.com> | Fri Mar 05 22:54:35 2021 -0800 |
tree | 8ebbf724dc06aefe36d11af9b0260192bc602fb8 | |
parent | 770c70af6524b6014b4c84e994475b79ac5109e8 [diff] |
Keep more specific types for AnalysisContextCollectionImpl to avoid downcasts. It seems to me that implicitly expecting DriverBasedAnalysisContext is equivalent to explicitly stating this with types. Change-Id: I16ec14e73030d9b34242a2f4ad582e93fc44afa7 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/189382 Commit-Queue: Konstantin Shcheglov <scheglov@google.com> Reviewed-by: Brian Wilkerson <brianwilkerson@google.com> https://dart.googlesource.com/sdk/+/53c8eda9672fe1555821bfa51e31f3c57683da1d