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

Unified Diff: sdk/lib/internal/symbol.dart

Issue 2754013002: Format all dart: library files (Closed)
Patch Set: Format all dart: library files 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
« no previous file with comments | « sdk/lib/internal/sort.dart ('k') | sdk/lib/io/bytes_builder.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/internal/symbol.dart
diff --git a/sdk/lib/internal/symbol.dart b/sdk/lib/internal/symbol.dart
index 85df9a71106137151900d66b82c367737e8ebd74..e4759348ee7633f73116e8de7fded39f70a4c1d3 100644
--- a/sdk/lib/internal/symbol.dart
+++ b/sdk/lib/internal/symbol.dart
@@ -95,8 +95,8 @@ class Symbol implements core.Symbol {
* The empty symbol is handled before this regexp is used, and is not
* accepted.
*/
- static final RegExp symbolPattern = new RegExp(
- '^(?:$operatorRE\$|$identifierRE(?:=?\$|[.](?!\$)))+?\$');
+ static final RegExp symbolPattern =
+ new RegExp('^(?:$operatorRE\$|$identifierRE(?:=?\$|[.](?!\$)))+?\$');
external const Symbol(String name);
@@ -107,8 +107,7 @@ class Symbol implements core.Symbol {
const Symbol.unvalidated(this._name);
// This is called by dart2js.
- Symbol.validated(String name)
- : this._name = validatePublicSymbol(name);
+ Symbol.validated(String name) : this._name = validatePublicSymbol(name);
bool operator ==(other) => other is Symbol && _name == other._name;
@@ -127,8 +126,7 @@ class Symbol implements core.Symbol {
// message.
throw new ArgumentError('"$name" is a private identifier');
}
- throw new ArgumentError(
- '"$name" is not a valid (qualified) symbol name');
+ throw new ArgumentError('"$name" is not a valid (qualified) symbol name');
}
/**
« no previous file with comments | « sdk/lib/internal/sort.dart ('k') | sdk/lib/io/bytes_builder.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698