mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Disallow explicit conversions from negative literals to `address`
This commit is contained in:
committed by
hrkrshnn
parent
b401093679
commit
a309669f75
@@ -0,0 +1,17 @@
|
||||
********************************
|
||||
Solidity v0.8.0 Breaking Changes
|
||||
********************************
|
||||
|
||||
This section highlights the main breaking changes introduced in Solidity
|
||||
version 0.8.0, along with the reasoning behind the changes and how to update
|
||||
affected code.
|
||||
For the full list check
|
||||
`the release changelog <https://github.com/ethereum/solidity/releases/tag/v0.8.0>`_.
|
||||
|
||||
Semantic and Syntactic Changes
|
||||
==============================
|
||||
|
||||
This section lists changes where you have to modify your code
|
||||
and it does something else afterwards.
|
||||
|
||||
* Explicit conversions from negative literals and literals larger than ``type(uint160).max`` to ``address`` are now disallowed.
|
||||
@@ -128,6 +128,7 @@ Contents
|
||||
050-breaking-changes.rst
|
||||
060-breaking-changes.rst
|
||||
070-breaking-changes.rst
|
||||
080-breaking-changes.rst
|
||||
natspec-format.rst
|
||||
security-considerations.rst
|
||||
resources.rst
|
||||
|
||||
@@ -613,8 +613,8 @@ Available upgrade modules
|
||||
+----------------------------+---------+--------------------------------------------------+
|
||||
|
||||
Please read :doc:`0.5.0 release notes <050-breaking-changes>`,
|
||||
:doc:`0.6.0 release notes <060-breaking-changes>` and
|
||||
:doc:`0.7.0 release notes <070-breaking-changes>` for further details.
|
||||
:doc:`0.6.0 release notes <060-breaking-changes>`,
|
||||
:doc:`0.7.0 release notes <070-breaking-changes>` and :doc:`0.8.0 release notes <080-breaking-changes>` for further details.
|
||||
|
||||
Synopsis
|
||||
~~~~~~~~
|
||||
|
||||
Reference in New Issue
Block a user