| 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 ba3cd83792d81234a530eb0f86e1af975921b10e..be14d1ea607f46dc19fe4d4e182a3dbc8e4882c7 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
|
| @@ -4264,7 +4264,7 @@ public class Parser {
|
| if (!currentToken.getType().isIncrementOperator()) {
|
| return operand;
|
| }
|
| - if (operand instanceof FunctionExpressionInvocation) {
|
| + if (operand instanceof Literal || operand instanceof FunctionExpressionInvocation) {
|
| reportError(ParserErrorCode.MISSING_ASSIGNABLE_SELECTOR);
|
| }
|
| Token operator = getAndAdvance();
|
|
|