Having strange compiler issue with [async] and await

We will check what we can do.
Reason is that Delphi LSP doesn't understand the async decorator and we therefore introduced the [async] attribute to keep the LSP happy and postprocess it to make it an async decorator for all units in the project.
You could also use the async decorator instead in your units.