pre-async icon indicating copy to clipboard operation
pre-async copied to clipboard

Allow interchange of positions between Async and Method Modifier(s)?

Open HallofFamer opened this issue 6 years ago • 1 comments

It seems that with the current way aync macro is designed, the async keyword must be positioned before method modifiers. For instance, the below method definition will work:

async public function doTasks(){ } // it works

While it will not if you swap the positions:

public async function doTasks(){ } // it wont compile

I was wondering if it will be possible to allow interchangeable positions between async and method modifiers(ie. public, private). What do you think?

HallofFamer avatar Sep 10 '18 16:09 HallofFamer

Nvm, seems that in latest version both syntax will work.

HallofFamer avatar Sep 12 '18 20:09 HallofFamer