Can't call the constructor within "static void main" of the same class

Issue #469 invalid
Jörg Kienzle created an issue

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)

  1. Matthias Schoettle
    • 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).

  2. Log in to comment