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

Unified Diff: pkg/analyzer/lib/src/dart/element/element.dart

Issue 1722383002: Fix the 'Unused import' hint when using package summaries. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 10 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/test/generated/test_support.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/lib/src/dart/element/element.dart
diff --git a/pkg/analyzer/lib/src/dart/element/element.dart b/pkg/analyzer/lib/src/dart/element/element.dart
index 530539595434b8fb77939f46c74bcff8dd6329d4..12e07f2eb0f227c513edb06a88974afda3cb2a42 100644
--- a/pkg/analyzer/lib/src/dart/element/element.dart
+++ b/pkg/analyzer/lib/src/dart/element/element.dart
@@ -3148,9 +3148,6 @@ class LibraryElementImpl extends ElementImpl implements LibraryElement {
}
@override
- int get hashCode => _definingCompilationUnit.hashCode;
-
- @override
bool get hasLoadLibraryFunction {
if (_definingCompilationUnit.hasLoadLibraryFunction) {
return true;
@@ -3365,11 +3362,6 @@ class LibraryElementImpl extends ElementImpl implements LibraryElement {
}
@override
- bool operator ==(Object object) =>
- object is LibraryElementImpl &&
- _definingCompilationUnit == object.definingCompilationUnit;
-
- @override
accept(ElementVisitor visitor) => visitor.visitLibraryElement(this);
/**
« no previous file with comments | « no previous file | pkg/analyzer/test/generated/test_support.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698