Empty Constructors
In Fuzion, it is fairly common to declare constructor fields that do not contain
any code or inner declarations, such as the person
feature in this
example:
An empty constructor in Fuzion can be written using a full stop
instead is
:
A full stop is a period .
that follows immediately after the
feature's signature (i.e., no white space or new line is permitted) that is
follwed by white space, typically a new line.
If inner declarations are made in a constructor, is
is
required:
Using a full stop followed by inner declaration results in syntax errors: