Emit both subexp and standalone sugg for postfix
This solves the TODO.
This commit is contained in:
parent
7287f929b9
commit
62b8ea67b7
4 changed files with 70 additions and 31 deletions
|
@ -273,9 +273,7 @@ impl<'a> Parser<'a> {
|
|||
let op_span = self.prev_token.span.to(self.token.span);
|
||||
// Eat the second `+`
|
||||
self.bump();
|
||||
// TODO: implement
|
||||
let start_is_semi = false;
|
||||
lhs = self.maybe_recover_from_postfix_increment(lhs, op_span, start_is_semi)?;
|
||||
lhs = self.maybe_recover_from_postfix_increment(lhs, op_span)?;
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue