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

Unified Diff: lib/compiler/implementation/scanner/token.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/token.dart
diff --git a/lib/compiler/implementation/scanner/token.dart b/lib/compiler/implementation/scanner/token.dart
index 99055fed481cbc723d4e56360f793c919bc0e659..0e10e0ff37654e23488a67f7cd3045f497d340e3 100644
--- a/lib/compiler/implementation/scanner/token.dart
+++ b/lib/compiler/implementation/scanner/token.dart
@@ -200,7 +200,7 @@ class StringWrapper implements SourceString {
const StringWrapper(String this.stringValue);
- int hashCode() => stringValue.hashCode();
+ int get hashCode => stringValue.hashCode;
bool operator ==(other) {
return other is SourceString && toString() == other.slowToString();

Powered by Google App Engine
This is Rietveld 408576698