summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--compiler/lambdalifting.nim2
-rw-r--r--lib/system/iterators.nim2
-rw-r--r--testament/important_packages.nim2
3 files changed, 3 insertions, 3 deletions
diff --git a/compiler/lambdalifting.nim b/compiler/lambdalifting.nim
index 6f43649a1..c555cedfe 100644
--- a/compiler/lambdalifting.nim
+++ b/compiler/lambdalifting.nim
@@ -292,7 +292,7 @@ proc markAsClosure(g: ModuleGraph; owner: PSym; n: PNode) =
   if illegalCapture(s):
     localError(g.config, n.info,
       ("'$1' is of type <$2> which cannot be captured as it would violate memory" &
-       " safety, declared here: $3; using '-d:nimWorkaround14447' helps in some cases") %
+       " safety, declared here: $3; using '-d:nimNoLentIterators' helps in some cases") %
       [s.name.s, typeToString(s.typ), g.config$s.info])
   elif not (owner.typ.callConv == ccClosure or owner.typ.callConv == ccNimCall and tfExplicitCallConv notin owner.typ.flags):
     localError(g.config, n.info, "illegal capture '$1' because '$2' has the calling convention: <$3>" %
diff --git a/lib/system/iterators.nim b/lib/system/iterators.nim
index 0f79970b8..f23f7aa11 100644
--- a/lib/system/iterators.nim
+++ b/lib/system/iterators.nim
@@ -1,4 +1,4 @@
-when defined(nimHasLentIterators) and not defined(nimWorkaround14447):
+when defined(nimHasLentIterators) and not defined(nimNoLentIterators):
   template lent2(T): untyped = lent T
 else:
   template lent2(T): untyped = T
diff --git a/testament/important_packages.nim b/testament/important_packages.nim
index 975dd63ad..3d3c340eb 100644
--- a/testament/important_packages.nim
+++ b/testament/important_packages.nim
@@ -156,5 +156,5 @@ pkg "winim", allowFailure = true
 pkg "with"
 pkg "ws"
 pkg "yaml", "nim build"
-pkg "zero_functional", "nim c -r -d:nimWorkaround14447 test.nim"
+pkg "zero_functional", "nim c -r -d:nimNoLentIterators test.nim"
 pkg "zippy"