mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Documentation.
This commit is contained in:
parent
c5d172c058
commit
5de66bf5e4
@ -24,8 +24,10 @@ Breaking Changes:
|
|||||||
Language Features:
|
Language Features:
|
||||||
* Super constructors can now be called using the member notation e.g. ``M.C(123)``.
|
* Super constructors can now be called using the member notation e.g. ``M.C(123)``.
|
||||||
|
|
||||||
|
Bugfixes:
|
||||||
|
* Type Checker: Perform proper integer arithmetic when using constants in array length expressions.
|
||||||
|
|
||||||
AST Changes:
|
AST Changes:
|
||||||
* New AST Node ``IdentifierPath`` replacing in many places the ``UserDefinedTypeName``
|
* New AST Node ``IdentifierPath`` replacing in many places the ``UserDefinedTypeName``
|
||||||
|
|
||||||
|
|
||||||
|
@ -35,6 +35,10 @@ the compiler notifying you about it.
|
|||||||
* If a byte array in storage is accessed whose length is encoded incorrectly, a panic is caused.
|
* If a byte array in storage is accessed whose length is encoded incorrectly, a panic is caused.
|
||||||
A contract cannot get into this situation unless inline assembly is used to modify the raw representation of storage byte arrays.
|
A contract cannot get into this situation unless inline assembly is used to modify the raw representation of storage byte arrays.
|
||||||
|
|
||||||
|
* If constants are used in array length expressions, previous versions of Solidity would use arbitrary precision
|
||||||
|
in all branches of the evaluation tree. Now, if constant variables are used as intermediate expressions,
|
||||||
|
their values will be properly rounded in the same way as when they are used in run-time expressions.
|
||||||
|
|
||||||
New Restrictions
|
New Restrictions
|
||||||
================
|
================
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user