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

Unified Diff: lib/compiler/implementation/scanner/keyword.dart

Issue 11191078: Make hashCode a getter and not a method. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Update status file with co19 issue number. Created 8 years, 2 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: lib/compiler/implementation/scanner/keyword.dart
diff --git a/lib/compiler/implementation/scanner/keyword.dart b/lib/compiler/implementation/scanner/keyword.dart
index 768dedfa0a79c92d1da5695df606c3029f388758..dd16ba7ae1c73c3c142ed2e3a236e71d66ce1237 100644
--- a/lib/compiler/implementation/scanner/keyword.dart
+++ b/lib/compiler/implementation/scanner/keyword.dart
@@ -94,7 +94,7 @@ class Keyword implements SourceString {
return result;
}
- int hashCode() => syntax.hashCode();
+ int get hashCode => syntax.hashCode;
bool operator ==(other) {
return other is SourceString && toString() == other.slowToString();

Powered by Google App Engine
This is Rietveld 408576698