Objectica`
Message
ClassAttributes::constrain
MORE INFORMATION
Generated when the accessibility of
member
in
child
defined in
Class
[
child, parent
]:={
Override
.
member
=
val
}
is less than in
parent
.
EXAMPLES
CLOSE ALL
Basic Examples
(1)
This loads the package.
In[1]:=
It is not possible to reduce the accessibility of a class member, because this would violate the already exposed interface.
In[2]:=
Out[2]=
The solution is to give the member at least the accessibility that it has in the parent class.
In[3]:=
SEE ALSO
ClassAttributes
RELATED LINKS
Objectica
Symbols and Numbers (makers of Objectica)