Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(400)

Unified Diff: pkg/analyzer/lib/src/task/strong_mode.dart

Issue 2025233003: Rename ClassElementImpl and its subclasses. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;
}
« no previous file with comments | « pkg/analyzer/lib/src/summary/resynthesize.dart ('k') | pkg/analyzer/test/generated/element_resolver_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698