Chromium Code Reviews| Index: pkg/analyzer/lib/src/task/strong_mode.dart |
| diff --git a/pkg/analyzer/lib/src/task/strong_mode.dart b/pkg/analyzer/lib/src/task/strong_mode.dart |
| index 420fd61c972aa62d41a511067e458889fac32c52..efe5637647540350b5331c6a4a0a269c3ea0dda2 100644 |
| --- a/pkg/analyzer/lib/src/task/strong_mode.dart |
| +++ b/pkg/analyzer/lib/src/task/strong_mode.dart |
| @@ -73,8 +73,8 @@ class InstanceMemberInferrer { |
| * The classes that have been visited while attempting to infer the types of |
| * instance members of some base class. |
| */ |
| - HashSet<ClassElementImpl> elementsBeingInferred = |
| - new HashSet<ClassElementImpl>(); |
| + HashSet<AbstractClassElementImpl> elementsBeingInferred = |
|
Brian Wilkerson
2016/06/01 18:41:40
I don't think we actually infer enum members, so i
|
| + new HashSet<AbstractClassElementImpl>(); |
| /** |
| * Initialize a newly create inferrer. |
| @@ -202,7 +202,7 @@ class InstanceMemberInferrer { |
| * [classElement]. |
| */ |
| void _inferClass(ClassElement classElement) { |
| - if (classElement is ClassElementImpl) { |
| + if (classElement is AbstractClassElementImpl) { |
| if (classElement.hasBeenInferred) { |
| return; |
| } |