- changed component to Message View
Can't call the constructor within "static void main" of the same class
Issue #469
invalid
For example: class A has static void main(String[] args), and a constructor. Within the message view of "main" it should be possible to instantiate A. It is possible to call the constructor by creating a "Self message", but the result is unreadable in the message view...
Comments (2)
-
-
- edited description
- changed status to invalid
I just tried it and it works on master.
Create a new message to <<metaclass>> A and then choose
create()
to create a new instance.Within the self message, the constructor is not shown (anymore).
- Log in to comment