summary refs log tree commit diff stats
path: root/web
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2016-07-15 15:40:26 +0200
committerAndreas Rumpf <rumpf_a@web.de>2016-07-15 15:40:26 +0200
commit11b499f3ca436d5311d21a5dd72933f79370bb28 (patch)
tree04c5e0d566ed5186bff6beffb10bc6b05f6701c2 /web
parentd798323248d25a32f2bf3b4aa1e07a2d95a7ab83 (diff)
downloadNim-11b499f3ca436d5311d21a5dd72933f79370bb28.tar.gz
prepare for #3898
Diffstat (limited to 'web')
-rw-r--r--web/news/version_0_15_released.rst13
1 files changed, 12 insertions, 1 deletions
diff --git a/web/news/version_0_15_released.rst b/web/news/version_0_15_released.rst
index 0dfde1ce2..80f178093 100644
--- a/web/news/version_0_15_released.rst
+++ b/web/news/version_0_15_released.rst
@@ -17,7 +17,18 @@ Changes affecting backwards compatibility
   no longer strips and splits characters out of the target string
   by the entire set of characters. Instead, it now behaves in a
   similar fashion to ``split`` with ``string`` and ``char``
-  delimiters.
+  delimiters. Use ``splitWhitespace`` to get the old behaviour.
+- The command invocation syntax will soon apply to open brackets
+  and curlies too. This means that code like ``a [i]`` will be
+  interpreted as ``a([i])`` and not as ``a[i]`` anymore. Likewise
+  ``f (a, b)`` means that the tuple ``(a, b)`` is passed to ``f``.
+  The compiler produces a warning for ``a [i]``::
+
+    Warning: a [b] will be parsed as command syntax; spacing is deprecated
+
+  See `https://github.com/nim-lang/Nim/issues/3898`_ for the relevant
+  discussion.
+
 
 Library Additions
 -----------------