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

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

Issue 2028253002: Infer only ClassElementImpl in InstanceMemberInferrer, tweaks for link. (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
« no previous file with comments | « pkg/analyzer/lib/src/summary/link.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 efe5637647540350b5331c6a4a0a269c3ea0dda2..420fd61c972aa62d41a511067e458889fac32c52 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<AbstractClassElementImpl> elementsBeingInferred =
- new HashSet<AbstractClassElementImpl>();
+ HashSet<ClassElementImpl> elementsBeingInferred =
+ new HashSet<ClassElementImpl>();
/**
* Initialize a newly create inferrer.
@@ -202,7 +202,7 @@ class InstanceMemberInferrer {
* [classElement].
*/
void _inferClass(ClassElement classElement) {
- if (classElement is AbstractClassElementImpl) {
+ if (classElement is ClassElementImpl) {
if (classElement.hasBeenInferred) {
return;
}
« no previous file with comments | « pkg/analyzer/lib/src/summary/link.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698