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

Unified Diff: lib/src/utils.dart

Issue 1631303003: Run format (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: Created 4 years, 11 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 | « lib/src/codegen/module_builder.dart ('k') | test/codegen/expect/collection/src/unmodifiable_wrappers.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/utils.dart
diff --git a/lib/src/utils.dart b/lib/src/utils.dart
index f6b0ab1893978b674a773df1b35fad055fc9e54d..0b2ec35fdcd5ebf1450f2fb63cc17755020c2200 100644
--- a/lib/src/utils.dart
+++ b/lib/src/utils.dart
@@ -438,8 +438,7 @@ bool isDartMathMinMax(Element e) =>
// TODO(ochafik): generic signature.
dynamic parseEnum(String s, List enumValues) =>
enumValues.firstWhere((v) => s == getEnumName(v),
- orElse: () => throw new ArgumentError(
- 'Unknown enum value: $s '
+ orElse: () => throw new ArgumentError('Unknown enum value: $s '
'(expected one of ${enumValues.map(getEnumName)})'));
/// Gets the "simple" name of an enum value.
« no previous file with comments | « lib/src/codegen/module_builder.dart ('k') | test/codegen/expect/collection/src/unmodifiable_wrappers.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698