Skip to content

Commit

Permalink
Update tla-io/src/main/scala/at/forsyte/apalache/io/quint/Quint.scala
Browse files Browse the repository at this point in the history
Co-authored-by: Gabriela Moreira <gabrielamoreiramafra@gmail.com>
  • Loading branch information
Shon Feder and bugarela authored Dec 1, 2023
1 parent 8fe7379 commit 2f52f8e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -422,9 +422,9 @@ class Quint(quintOutput: QuintOutput) {
//
// This is converted into the following Apalache expression, using Apalache's variant operators:
//
// CASE VariantTag(expr) = "F1" -> elim_1(VariantGetUnsafe(expr))
// CASE VariantTag(expr) = "F1" -> elim_1(VariantGetUnsafe("F1", expr))
// [] ...
// [] VariantTag(expr) = "Fn" -> elim_n(VariantGetUnsafe(expr))
// [] VariantTag(expr) = "Fn" -> elim_n(VariantGetUnsafe("Fn", expr))
//
// This ensures that we will apply the proper eliminator to the expected value
// associated with whatever tag is carried by the variant `expr`.
Expand Down

0 comments on commit 2f52f8e

Please sign in to comment.