From 646adb4fc6be45ad1596e3cb17bdf0c2710ea398 Mon Sep 17 00:00:00 2001 From: Shon Feder Date: Tue, 12 Mar 2024 16:19:49 -0400 Subject: [PATCH] Add Variants to STANDARD_MODULES --- .../at/forsyte/apalache/shai/v1/TestCmdExecutorService.scala | 2 +- .../src/main/scala/at/forsyte/apalache/io/lir/TlaWriter.scala | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/shai/src/test/scala/at/forsyte/apalache/shai/v1/TestCmdExecutorService.scala b/shai/src/test/scala/at/forsyte/apalache/shai/v1/TestCmdExecutorService.scala index 4574daa405..94aeb6bfca 100644 --- a/shai/src/test/scala/at/forsyte/apalache/shai/v1/TestCmdExecutorService.scala +++ b/shai/src/test/scala/at/forsyte/apalache/shai/v1/TestCmdExecutorService.scala @@ -126,7 +126,7 @@ object TestCmdExecutorService extends DefaultRunnableSpec { val expectedPayload = """|----------------------------------- MODULE M ----------------------------------- | - |EXTENDS Integers, Sequences, FiniteSets, TLC, Apalache + |EXTENDS Integers, Sequences, FiniteSets, TLC, Apalache, Variants | |Foo == TRUE | diff --git a/tla-io/src/main/scala/at/forsyte/apalache/io/lir/TlaWriter.scala b/tla-io/src/main/scala/at/forsyte/apalache/io/lir/TlaWriter.scala index 67d302546b..b1f4a3f995 100644 --- a/tla-io/src/main/scala/at/forsyte/apalache/io/lir/TlaWriter.scala +++ b/tla-io/src/main/scala/at/forsyte/apalache/io/lir/TlaWriter.scala @@ -41,6 +41,6 @@ object TlaWriter { /** * The names of all standard modules that are supported by Apalache IR. */ - val STANDARD_MODULES = List("Integers", "Sequences", "FiniteSets", "TLC", "Apalache") + val STANDARD_MODULES = List("Integers", "Sequences", "FiniteSets", "TLC", "Apalache", "Variants") }