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

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

Issue 2752163002: Format all dart dev compiler files (Closed)
Patch Set: Created 3 years, 9 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 d878d541b8407972fdb793cdb328521c7b6e934c..30f35ac42df08ffcc21d5c504013119f4bc462ca 100644
--- a/pkg/dev_compiler/tool/input_sdk/patch/internal_patch.dart
+++ b/pkg/dev_compiler/tool/input_sdk/patch/internal_patch.dart
@@ -10,8 +10,7 @@ import 'dart:_foreign_helper' show JS;
@patch
class Symbol implements core.Symbol {
@patch
- const Symbol(String name)
- : this._name = name;
+ const Symbol(String name) : this._name = name;
@patch
int get hashCode {
@@ -22,7 +21,7 @@ class Symbol implements core.Symbol {
JS('', '#._hashCode = #', this, hash);
return hash;
}
-
+
@patch
toString() => 'Symbol("$_name")';
}
@@ -36,16 +35,15 @@ class PrivateSymbol implements core.Symbol {
const PrivateSymbol(this._name, this._nativeSymbol);
- static String getName(core.Symbol symbol) =>
- (symbol as PrivateSymbol)._name;
+ static String getName(core.Symbol symbol) => (symbol as PrivateSymbol)._name;
static Object getNativeSymbol(core.Symbol symbol) {
if (symbol is PrivateSymbol) return symbol._nativeSymbol;
return null;
}
- bool operator ==(other) => other is PrivateSymbol &&
- identical(_nativeSymbol, other._nativeSymbol);
+ bool operator ==(other) =>
+ other is PrivateSymbol && identical(_nativeSymbol, other._nativeSymbol);
// TODO(jmesserly): is this equivalent to _nativeSymbol toString?
toString() => 'Symbol("$_name")';
« no previous file with comments | « pkg/dev_compiler/tool/input_sdk/patch/developer_patch.dart ('k') | pkg/dev_compiler/tool/input_sdk/patch/io_patch.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698