summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--compiler/options.nim2
-rw-r--r--doc/manual.txt2
-rw-r--r--todo.txt2
-rw-r--r--web/news.txt4
4 files changed, 6 insertions, 4 deletions
diff --git a/compiler/options.nim b/compiler/options.nim
index 6d93048fe..5f173d240 100644
--- a/compiler/options.nim
+++ b/compiler/options.nim
@@ -14,7 +14,7 @@ const
   hasTinyCBackend* = defined(tinyc)
   useEffectSystem* = true
   hasFFI* = defined(useFFI)
-  newScopeForIf* = false      # XXX activate for 0.9.4
+  newScopeForIf* = true
 
 type                          # please make sure we have under 32 options
                               # (improves code efficiency a lot!)
diff --git a/doc/manual.txt b/doc/manual.txt
index 08e5f723b..f163e0d5f 100644
--- a/doc/manual.txt
+++ b/doc/manual.txt
@@ -1920,8 +1920,6 @@ the corresponding *then* block:
 
 In the example the scopes have been enclosed in ``{|  |}``. 
 
-**Note**: These scoping rules will be active in 0.9.4.
-
 
 Case statement
 --------------
diff --git a/todo.txt b/todo.txt
index e0d7ef477..700d685b1 100644
--- a/todo.txt
+++ b/todo.txt
@@ -2,7 +2,7 @@ version 0.9.4
 =============
 
 - make 'bind' default for templates and introduce 'mixin';
-  special rule for ``[]=``
+- special rule for ``[]=``
 - ``=`` should be overloadable; requires specialization for ``=``; general
   lift mechanism in the compiler is already implemented for 'fields'
 - mocking support with ``tyProxy`` that does: fallback for ``.`` operator
diff --git a/web/news.txt b/web/news.txt
index 5d79d8271..f133968c2 100644
--- a/web/news.txt
+++ b/web/news.txt
@@ -18,6 +18,10 @@ Library Additions
 Changes affecting backwards compatibility
 -----------------------------------------
 
+- The scoping rules for the ``if`` statement changed for better interaction 
+  with the new syntactic construct ``(;)``.
+
+
 
 Compiler Additions
 ------------------