commit | 1357778286eace29ef5975512255e0449c4f621e | [log] [tgz] |
---|---|---|
author | Konstantin Shcheglov <scheglov@google.com> | Fri Sep 21 20:14:09 2018 +0000 |
committer | commit-bot@chromium.org <commit-bot@chromium.org> | Fri Sep 21 20:14:09 2018 +0000 |
tree | 7ff343d0718ac5a07052fb498f29e15a56bc12b6 | |
parent | 012b7050e5cab68c7508620e03d2bbed90798324 [diff] |
Issue 34546. Get ClassElementImpl a way that support element handles. R=brianwilkerson@google.com Bug: https://github.com/dart-lang/sdk/issues/34546 Change-Id: Ib14afd83db49cbcd3b9a5d6832689dec9dfd5c57 Reviewed-on: https://dart-review.googlesource.com/75986 Reviewed-by: Brian Wilkerson <brianwilkerson@google.com> Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
diff --git a/pkg/analyzer/lib/src/dart/element/type.dart b/pkg/analyzer/lib/src/dart/element/type.dart index 5e4e7bd..fd8c454 100644 --- a/pkg/analyzer/lib/src/dart/element/type.dart +++ b/pkg/analyzer/lib/src/dart/element/type.dart
@@ -1784,7 +1784,8 @@ if (!concrete || acceptAbstract || !result.isAbstract) { return result; } - ClassElementImpl elementImpl = type.element; + ClassElementImpl elementImpl = + AbstractClassElementImpl.getImpl(type.element); if (elementImpl.hasNoSuchMethod) { return result; }