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

Unified Diff: dart/utils/compiler/build_helper.dart

Issue 10407064: Purge String operator+ from dart2js. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Address review comment Created 8 years, 7 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 | « dart/lib/compiler/implementation/source_file.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/utils/compiler/build_helper.dart
diff --git a/dart/utils/compiler/build_helper.dart b/dart/utils/compiler/build_helper.dart
index 78dd6c8e39d058dcf3f99fe154e67bfa25422e9c..a094d3b787c8ad863827633d35c3f8887392f41a 100644
--- a/dart/utils/compiler/build_helper.dart
+++ b/dart/utils/compiler/build_helper.dart
@@ -73,6 +73,11 @@ List<String> buildScript(Uri dartUri, Uri dartVmLocation, String options) {
print('dart2jsPath = $dart2jsPath');
print('dart2jsPathWin = $dart2jsPathWin');
+ // Disable String operator+. This should only be necessary
+ // temporarily as the operator will go away soon.
+ // TODO(ahe): Remove this option.
+ options = ' --allow_string_plus=false$options';
+
return [
'''
#!/bin/sh
« no previous file with comments | « dart/lib/compiler/implementation/source_file.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698