Please sign in to comment.
Fix bug related to unary operation in for loop.
The problem is due to in unary operation statement, local var is pushed to stack for operation, we need to remove it from the stack otherwise for loop will have exception (https://github.com/dynjs/dynjs/blob/master/src/main/java/org/dynjs/parser/statement/AbstractUnaryOperationStatement.java#L50).
- Loading branch information...
Showing with 8 additions and 2 deletions.