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

Unified Diff: test/dart_codegen/expect/_internal/symbol.dart

Issue 1112403004: SDK fixes (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Formatting fix Created 5 years, 8 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: test/dart_codegen/expect/_internal/symbol.dart
diff --git a/test/dart_codegen/expect/_internal/symbol.dart b/test/dart_codegen/expect/_internal/symbol.dart
index 8ad0119fc9a12914d8bd6054660866a8aab77b74..4883e8c5eda059a464bc6121f21e01a33fc7fb76 100644
--- a/test/dart_codegen/expect/_internal/symbol.dart
+++ b/test/dart_codegen/expect/_internal/symbol.dart
@@ -9,7 +9,7 @@ part of dart._internal;
external const Symbol(String name);
const Symbol.unvalidated(this._name);
Symbol.validated(String name) : this._name = validatePublicSymbol(name);
- bool operator ==(other) => other is Symbol && _name == other._name;
+ bool operator ==(Object other) => other is Symbol && _name == other._name;
int get hashCode {
const arbitraryPrime = 664597;
return 0x1fffffff & (arbitraryPrime * _name.hashCode);

Powered by Google App Engine
This is Rietveld 408576698