| Index: lib/compiler/implementation/compile_time_constants.dart
|
| diff --git a/lib/compiler/implementation/compile_time_constants.dart b/lib/compiler/implementation/compile_time_constants.dart
|
| index 94c98c5f9b08edbfd6af8cfd32eb8b6b882bee4e..4472547c9653d75cb8174a4c76d93c3a6a0c6b07 100644
|
| --- a/lib/compiler/implementation/compile_time_constants.dart
|
| +++ b/lib/compiler/implementation/compile_time_constants.dart
|
| @@ -710,8 +710,7 @@ class CompileTimeConstantEvaluator extends AbstractVisitor {
|
| }
|
|
|
| Constant visitLiteralMap(LiteralMap node) {
|
| - // TODO(floitsch): check for isConst, once the parser adds it into the node.
|
| - // if (!node.isConst()) error(node);
|
| + if (!node.isConst()) error(node);
|
| List<StringConstant> keys = <StringConstant>[];
|
| List<Constant> values = <Constant>[];
|
| bool hasProtoKey = false;
|
|
|