Skip to content

Commit

Permalink
Remove commented out code
Browse files Browse the repository at this point in the history
  • Loading branch information
Shon Feder committed Oct 5, 2023
1 parent 3768598 commit ba946ad
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions quint/src/parsing/ToIrListener.ts
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,7 @@ export class ToIrListener implements QuintListener {
const poppedType = this.popType().value
// Check if we have an accompanying type, and if not, then synthesize the
// unit type.
// const poppedType = this.popType().value
//
// I.e., we interpret a variant `A` as `A({})`.
const fieldType: QuintType = poppedType ? poppedType : unitType(this.getId(ctx))
this.variantStack.push({ fieldName, fieldType })
Expand Down Expand Up @@ -1007,7 +1007,6 @@ export class ToIrListener implements QuintListener {
const labelStr: QuintStr = { id: caseId, kind: 'str', value: label }
const elim: QuintLambda = { id: caseId, kind: 'lambda', qualifier: 'def', expr: caseExpr, params }
return [labelStr, elim]
// return acc.concat([labelStr, elim])
}

/** ******************* translate types ********************************/
Expand Down

0 comments on commit ba946ad

Please sign in to comment.