pre-async
pre-async copied to clipboard
Allow interchange of positions between Async and Method Modifier(s)?
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?
Nvm, seems that in latest version both syntax will work.