Static imports
thekid opened this issue · 2 comments
thekid commented
Idea:
use static util\cmd\Console::writeLine;
writeLine('Hello');
(also supports as
like other imports)
thekid commented
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.