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

Unified Diff: pkg/dev_compiler/tool/input_sdk/patch/internal_patch.dart

Issue 2979353002: implement `Invocation.typeArguments` in DDC (Closed)
Patch Set: fix Created 3 years, 5 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/dev_compiler/tool/input_sdk/patch/internal_patch.dart
diff --git a/pkg/dev_compiler/tool/input_sdk/patch/internal_patch.dart b/pkg/dev_compiler/tool/input_sdk/patch/internal_patch.dart
index 30f35ac42df08ffcc21d5c504013119f4bc462ca..d57a1f092a12162cfdc26bbcb08477ea0eaf6e74 100644
--- a/pkg/dev_compiler/tool/input_sdk/patch/internal_patch.dart
+++ b/pkg/dev_compiler/tool/input_sdk/patch/internal_patch.dart
@@ -43,7 +43,11 @@ class PrivateSymbol implements core.Symbol {
}
bool operator ==(other) =>
- other is PrivateSymbol && identical(_nativeSymbol, other._nativeSymbol);
+ other is PrivateSymbol &&
+ _name == other._name &&
+ identical(_nativeSymbol, other._nativeSymbol);
+
+ get hashCode => _nativeSymbol.hashCode;
// TODO(jmesserly): is this equivalent to _nativeSymbol toString?
toString() => 'Symbol("$_name")';

Powered by Google App Engine
This is Rietveld 408576698