mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
0.7.0 breaking changes: There were no external constructors
This commit is contained in:
parent
f162c484ca
commit
f479aceb4c
@ -78,7 +78,7 @@ Mappings outside Storage
|
|||||||
Functions and Events
|
Functions and Events
|
||||||
--------------------
|
--------------------
|
||||||
|
|
||||||
* Visibility (``public`` / ``external``) is not needed for constructors anymore:
|
* Visibility (``public`` / ``internal``) is not needed for constructors anymore:
|
||||||
To prevent a contract from being created, it can be marked ``abstract``.
|
To prevent a contract from being created, it can be marked ``abstract``.
|
||||||
This makes the visibility concept for constructors obsolete.
|
This makes the visibility concept for constructors obsolete.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user