breaking change: 'and' and 'mod' do not produce a subrange type anymore; fixes #5854
This commit is contained in:
parent
aa526da706
commit
d7a896f19d
6 changed files with 16 additions and 131 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue