From d51524ae65e318352885cc97b18a9c32cd0ecae0 Mon Sep 17 00:00:00 2001 From: flywind Date: Mon, 17 Jan 2022 10:56:58 +0800 Subject: [PATCH] proceed --- config/config.nims | 1 + tests/config.nims | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/config/config.nims b/config/config.nims index 893d6960fa1a3..a8dabd7c6399a 100644 --- a/config/config.nims +++ b/config/config.nims @@ -16,3 +16,4 @@ when defined(nimStrictMode): # future work: XDeclaredButNotUsed switch("define", "nimVersion:" & NimVersion) +switch("experimental", "strictEffects") diff --git a/tests/config.nims b/tests/config.nims index 9b856331440cb..894c4bea0adc1 100644 --- a/tests/config.nims +++ b/tests/config.nims @@ -40,4 +40,3 @@ switch("define", "nimPreviewFloatRoundtrip") switch("define", "nimPreviewDotLikeOps") switch("define", "nimPreviewJsonutilsHoleyEnum") switch("define", "nimPreviewHashRef") -switch("experimental", "strictEffects")