Skip to content

Commit

Permalink
Fixed destruct parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
Evan Ovadia committed May 27, 2024
1 parent 7a56ab3 commit 6745cf1
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -690,10 +690,6 @@ class ExpressionParser(interner: Interner, keywords: Keywords, opts: GlobalOptio
case Ok(x) => x
}

if (!iter.trySkipSymbol(';')) {
return Err(BadExpressionEnd(iter.getPos()))
}

Ok(Some(DestructPE(RangeL(begin, iter.getPrevEndPos()), innerExpr)))
}

Expand Down

0 comments on commit 6745cf1

Please sign in to comment.