fixes #7637; assignments are not allowed to slice object; minor breaking change

This commit is contained in:
Andreas Rumpf 2018-04-21 21:22:36 +02:00
commit 85ea9593b3
5 changed files with 46 additions and 15 deletions

View file

@ -11,6 +11,10 @@
to deal with!
- Indexing into a ``cstring`` for the JS target is now mapped
to ``charCodeAt``.
- Assignments that would "slice" an object into its supertype are not prevented
at runtime. Use ``ref object`` with inheritance rather than ``object`` with
inheritance to prevent this issue.
#### Breaking changes in the standard library