Index: pkg/compiler/lib/src/resolution/members.dart |
diff --git a/pkg/compiler/lib/src/resolution/members.dart b/pkg/compiler/lib/src/resolution/members.dart |
index 95631094037e991399034490e3ac11dc8a62b3fd..5994a15203c3a7c8eef2e0c2195f474612f4908f 100644 |
--- a/pkg/compiler/lib/src/resolution/members.dart |
+++ b/pkg/compiler/lib/src/resolution/members.dart |
@@ -3409,7 +3409,7 @@ class ResolverVisitor extends MappingVisitor<ResolutionResult> { |
? new PrefixStructure(semantics, operator) |
: new PostfixStructure(semantics, operator); |
registry.registerSendStructure(node, sendStructure); |
- registry.registerFeature(Feature.INC_DEC_OPERATION); |
+ registry.registerConstantLiteral(new IntConstantExpression(1)); |
} else { |
Node rhs = node.arguments.head; |
visitExpression(rhs); |