You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@async private function myAsyncFuncReturningVoid(): Void {
// do something
// line 244 is here
}
@async private function test() {
@await this.myAsyncFuncReturningVoid(); // line 264 is here
}
Compiler output:
ex.hx:244: characters 5-38 : Dynamic should be Void
ex.hx:244: characters 5-38 : Dynamic should be Void
ex.hx:264: characters 14-33 : Void should be hxasync.Awaitable<Void>
ex.hx:264: characters 14-33 : ... For function argument 'arg'
The text was updated successfully, but these errors were encountered:
This is a known limitation of Haxe, which I did not find a way to workaround.
I will not close the issue, but you should not expect a fix anytime soon :)
My code:
Compiler output:
The text was updated successfully, but these errors were encountered: