Index: runtime/lib/symbol_patch.dart |
diff --git a/runtime/lib/symbol_patch.dart b/runtime/lib/symbol_patch.dart |
index 3e4c07c53b8dc773b9eae84cfbe4d5b3f197d829..aabf923d2f7f2e85ae7022bf3122113db95553fe 100644 |
--- a/runtime/lib/symbol_patch.dart |
+++ b/runtime/lib/symbol_patch.dart |
@@ -4,13 +4,11 @@ |
import 'dart:core' hide Symbol; |
-@patch |
-class Symbol { |
- @patch |
- const Symbol(String name) : this._name = name; |
+@patch class Symbol { |
+ @patch const Symbol(String name) |
+ : this._name = name; |
- @patch |
- toString() => 'Symbol("${getUnmangledName(this)}")'; |
+ @patch toString() => 'Symbol("${getUnmangledName(this)}")'; |
static getUnmangledName(Symbol symbol) { |
String string = Symbol.getName(symbol); |
@@ -56,8 +54,7 @@ class Symbol { |
return result.toString(); |
} |
- @patch |
- int get hashCode { |
+ @patch int get hashCode { |
const arbitraryPrime = 664597; |
return 0x1fffffff & (arbitraryPrime * _name.hashCode); |
} |