xp-framework/compiler

Static imports

thekid opened this issue · 2 comments

Idea:

use static util\cmd\Console::writeLine;

writeLine('Hello');

(also supports as like other imports)

Or simply use function util\cmd\Console::writeLine?

thekid commented

I've typically not missed this, we might consider reviving this in a DSL building feature, but closing for the moment.