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 |