Skip to content

Commit

Permalink
Update quint/src/parsing/ToIrListener.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
Shon Feder authored Aug 7, 2023
1 parent 4c8612f commit 41db990
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion quint/src/parsing/ToIrListener.ts
Original file line number Diff line number Diff line change
Expand Up @@ -906,7 +906,7 @@ export class ToIrListener implements QuintListener {
// The first expression is the one we are matching on.
// The syntax rules ensure that at least this expression is given.
const expr = exprs.shift()!
// after shifting off the match expr, the remaing exprs are in eache case
// after shifting off the match expr, the remaing exprs are must be paired with each case
const cases: MatchCase[] = zip(exprs, ctx._matchCase).map(([caseExpr, caseCtx]) => {
const caseId = this.getId(caseCtx)
let label: string
Expand Down

0 comments on commit 41db990

Please sign in to comment.