summary refs log tree commit diff stats
path: root/changelog.md
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2017-10-30 00:27:30 +0100
committerAndreas Rumpf <rumpf_a@web.de>2017-10-30 00:27:30 +0100
commitd7a896f19dfc7ff2ad22b78ef03e4db73332fc7e (patch)
treefccacd396f51cb078f8e1d7cdaec511c88908ec1 /changelog.md
parentaa526da70645f28a284defa9a1487371ae7bd339 (diff)
downloadNim-d7a896f19dfc7ff2ad22b78ef03e4db73332fc7e.tar.gz
breaking change: 'and' and 'mod' do not produce a subrange type anymore; fixes #5854
Diffstat (limited to 'changelog.md')
-rw-r--r--changelog.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/changelog.md b/changelog.md
index 5740f8589..3854d168b 100644
--- a/changelog.md
+++ b/changelog.md
@@ -28,3 +28,6 @@
   take ``BackwardsIndex`` indices. ``BackwardsIndex`` is produced by ``system.^``.
   This means if you overload ``[]`` or ``[]=`` you need to ensure they also work
   with ``system.BackwardsIndex`` (if applicable for the accessors).
+- ``mod`` and bitwise ``and`` do not produce ``range`` subtypes anymore. This
+  turned out to be more harmful than helpful and the language is simpler
+  without this special typing rule.