Skip to content

Commit

Permalink
Apply review suggestion
Browse files Browse the repository at this point in the history
Co-authored-by: Igor Konnov <igor@informal.systems>
  • Loading branch information
thpani and konnov authored Jul 6, 2023
1 parent ec799d4 commit 5368c5d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ private class QuintTypeConverter extends LazyLogging {
case Row.Nil() => (acc0, None)
case Row.Var(v) => (acc0, Some(VarT1(getVarNo(v))))
case Row.Cell(fields, other) =>
val acc1 = acc0 ++ fields.map { f => f.fieldName.toInt + 1 -> convert(f.fieldType) }
val acc1 = acc0 ++ fields.map { f => (f.fieldName.toInt + 1) -> convert(f.fieldType) }
aux(other, acc1)
}

Expand Down

0 comments on commit 5368c5d

Please sign in to comment.