Document absence of constructors.

This commit is contained in:
Daniel Kirchner 2018-03-09 14:25:57 +01:00 committed by Alex Beregszaszi
parent 8f66390f56
commit 3ae326139a

View File

@ -977,7 +977,9 @@ virtual method lookup.
Constructors Constructors
============ ============
A constructor is an optional function declared with the ``constructor`` keyword which is executed upon contract creation. A constructor is an optional function declared with the ``constructor`` keyword which is executed upon contract creation.
Constructor functions can be either ``public`` or ``internal``. Constructor functions can be either ``public`` or ``internal``. If there is no constructor, the contract will assume the
default constructor: ``contructor() public {}``.
:: ::