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

Unified Diff: pkg/analyzer/lib/src/summary/link.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 | « no previous file | pkg/analyzer/lib/src/task/strong_mode.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/lib/src/summary/link.dart
diff --git a/pkg/analyzer/lib/src/summary/link.dart b/pkg/analyzer/lib/src/summary/link.dart
index ccb1e7ca5989c9a393f37c96b0ef9487e01e0daf..81ae8543ab3271d03fb252a6948ba69669cca432 100644
--- a/pkg/analyzer/lib/src/summary/link.dart
+++ b/pkg/analyzer/lib/src/summary/link.dart
@@ -388,9 +388,6 @@ abstract class ClassElementForLink extends Object
String get name;
@override
- ResynthesizerContext get resynthesizerContext => enclosingElement;
-
- @override
ConstructorElementForLink get unnamedConstructor;
@override
@@ -427,7 +424,8 @@ abstract class ClassElementForLink extends Object
* linking.
*/
class ClassElementForLink_Class extends ClassElementForLink
- with TypeParameterizedElementMixin {
+ with TypeParameterizedElementMixin
+ implements ClassElementImpl {
/**
* The unlinked representation of the class in the summary.
*/
@@ -675,7 +673,8 @@ class ClassElementForLink_Class extends ClassElementForLink
* Element representing an enum resynthesized from a summary during
* linking.
*/
-class ClassElementForLink_Enum extends ClassElementForLink {
+class ClassElementForLink_Enum extends ClassElementForLink
+ implements EnumElementImpl {
/**
* The unlinked representation of the enum in the summary.
*/
« no previous file with comments | « no previous file | pkg/analyzer/lib/src/task/strong_mode.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698