| Index: editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/parser/Parser.java
|
| diff --git a/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/parser/Parser.java b/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/parser/Parser.java
|
| index 6919f153f00aeaaa0176980233981ce3c235b9f3..e7b5799a16b3644aea450c742e8ff60f043fdb61 100644
|
| --- a/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/parser/Parser.java
|
| +++ b/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/parser/Parser.java
|
| @@ -4798,9 +4798,7 @@ public class Parser {
|
| if (!currentToken.getType().isIncrementOperator()) {
|
| return operand;
|
| }
|
| - if (operand instanceof Literal || operand instanceof FunctionExpressionInvocation) {
|
| - reportError(ParserErrorCode.MISSING_ASSIGNABLE_SELECTOR);
|
| - }
|
| + ensureAssignable(operand);
|
| Token operator = getAndAdvance();
|
| return new PostfixExpression(operand, operator);
|
| }
|
|
|