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

Unified Diff: utils/pub/yaml/model.dart

Issue 11312203: "Reverting 14829-14832" (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 1 month 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 | « utils/pub/yaml/composer.dart ('k') | utils/template/codegen.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utils/pub/yaml/model.dart
diff --git a/utils/pub/yaml/model.dart b/utils/pub/yaml/model.dart
index f709536fa79d0bfc2e536bbc2ee3efbdd66f3345..f9dd00551442adb1005dec174a5f218620baf5a9 100644
--- a/utils/pub/yaml/model.dart
+++ b/utils/pub/yaml/model.dart
@@ -146,7 +146,7 @@ class _ScalarNode extends _Node {
// 20 is the maximum value for this argument, which we use since YAML
// doesn't specify a maximum.
return value.toStringAsExponential(20).
- replaceFirst(new RegExp("0+e"), "e");
+ replaceFirst(const RegExp("0+e"), "e");
}
if (value is String) {
« no previous file with comments | « utils/pub/yaml/composer.dart ('k') | utils/template/codegen.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698