fixes #7637; assignments are not allowed to slice object; minor breaking change
This commit is contained in:
parent
14046d975d
commit
85ea9593b3
5 changed files with 46 additions and 15 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue