| Index: dart/lib/compiler/implementation/compile_time_constants.dart
|
| diff --git a/dart/lib/compiler/implementation/compile_time_constants.dart b/dart/lib/compiler/implementation/compile_time_constants.dart
|
| index 41f9019a34b5321dbff1b900de5f52f22420bf71..ae7fe1d2eaa8afa7caaa26c67114e44e162bb038 100644
|
| --- a/dart/lib/compiler/implementation/compile_time_constants.dart
|
| +++ b/dart/lib/compiler/implementation/compile_time_constants.dart
|
| @@ -869,11 +869,6 @@ class CompileTimeConstantEvaluator extends AbstractVisitor {
|
| Constant folded = null;
|
| switch (op.source.stringValue) {
|
| case "+":
|
| - if (left.isString() && !right.isString()) {
|
| - // At the moment only compile-time concatenation of two strings is
|
| - // allowed.
|
| - error(send);
|
| - }
|
| folded = const AddOperation().fold(left, right);
|
| break;
|
| case "-":
|
|
|