Index: pkg/compiler/lib/src/constants/expressions.dart |
diff --git a/pkg/compiler/lib/src/constants/expressions.dart b/pkg/compiler/lib/src/constants/expressions.dart |
index e3058661915fbe0583142d597365682120bfee33..9ecbaa56b7f8572da3efe7f52b46739ae9b0f37a 100644 |
--- a/pkg/compiler/lib/src/constants/expressions.dart |
+++ b/pkg/compiler/lib/src/constants/expressions.dart |
@@ -485,17 +485,12 @@ class MapConstantExpression extends ConstantExpression { |
Map<ConstantValue, ConstantValue> valueMap = |
<ConstantValue, ConstantValue>{}; |
for (int index = 0; index < keys.length; index++) { |
Johnni Winther
2016/07/04 13:40:36
dartfmt
|
- ConstantValue key = |
- keys[index].evaluate(environment, constantSystem); |
- ConstantValue value = |
- values[index].evaluate(environment, constantSystem); |
+ ConstantValue key = keys[index].evaluate(environment, constantSystem); |
+ ConstantValue value = values[index].evaluate(environment, constantSystem); |
valueMap[key] = value; |
} |
- return constantSystem.createMap( |
- environment.compiler, |
- type, |
- valueMap.keys.toList(), |
- valueMap.values.toList()); |
+ return constantSystem.createMap(environment.compiler, type, |
+ valueMap.keys.toList(), valueMap.values.toList()); |
} |
ConstantExpression apply(NormalizedArguments arguments) { |