terumi-project / Terumi

Terumi - Shell scripts, reinvented
MIT License
4 stars 0 forks source link

[REQ] default constructors #6

Open monoclex opened 4 years ago

monoclex commented 4 years ago

Feature description:

as of right now, there is no default constructor. if you create a class a such, you cannot instantiate it

class Test
{
}

main()
{
    // compiler error
    Test t = new Test()
}

Suggested implementation: