Error Insight marks this as an error (demo TMSWeb_MultiForm)

image

Cltrl+ Click takes me to:
image

it compiles and runs, so assume there is some different implementation when it actually gets transpiled. Is it a bug or should I expect these?
2.0.0.1

Cheers
JAC

It's a harmless warning at design-time. I suspect the new Delphi LSP can't handle this well.
We'll look if we can workaround this in a next update.

Thanks Bruno, but where is await actually defined / declared with this signature?
Cheers,
Jason

It should have been in js.pas.
Classic code insight seems fine with it, with LSP not.
We work on a variant for LSP and add it in the next update.