mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #11298 from ethereum/docs-no-external-constructors
[Docs] 0.7.0 breaking changes: There were no external constructors
This commit is contained in:
commit
15decd2413
@ -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