From 4f6f032d299b55c1ff3a1548aedfb03638860335 Mon Sep 17 00:00:00 2001 From: Mario Rogic Date: Wed, 15 Nov 2023 11:41:14 +0000 Subject: [PATCH] Disable wire2 preparing to deprecate it --- compiler/src/Compile.hs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/compiler/src/Compile.hs b/compiler/src/Compile.hs index 9a3823c4..c48fa269 100644 --- a/compiler/src/Compile.hs +++ b/compiler/src/Compile.hs @@ -67,7 +67,7 @@ compile pkg ifaces modul = do let modul_ = modul & Lamdera.Wire3.Interfaces.modifyModul pkg ifaces - & Lamdera.Wire2.Interfaces.modifyModul pkg ifaces + -- & Lamdera.Wire2.Interfaces.modifyModul pkg ifaces -- moduleName = T.pack $ Data.Utf8.toChars $ Src.getName modul -- () <- debugPassText "starting canonical" "" (pure ()) @@ -75,8 +75,8 @@ compile pkg ifaces modul = do -- () <- debugPassText "starting canonical2" moduleName (pure ()) -- Add Canonical Wire gens, i.e. the `w2_[en|de]code_TYPENAME` functions - canonical1 <- Lamdera.Wire3.Core.addWireGenerations canonical0 pkg ifaces modul_ - canonical2 <- Lamdera.Wire2.Core.addWireGenerations canonical1 pkg ifaces modul_ + canonical2 <- Lamdera.Wire3.Core.addWireGenerations canonical0 pkg ifaces modul_ + -- canonical2 <- Lamdera.Wire2.Core.addWireGenerations canonical1 pkg ifaces modul_ -- () <- unsafePerformIO $ do -- case (pkg, Src.getName modul) of