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 function myFunc() {
var v:Dynamic=null;
v.helloWorld();
}
try {
@await myFunc();
} catch(e:Dynamic) {
trace(e);
}
Nothing is caught or thrown by @await myFunc(). This is contrary to my understanding of the following from the documentation: Any exception results in a Failure, which will pass through all methods until caught
In addition, haxe complains with Catch class parameter must be Dynamic, if you do catch(e:tink.core.Error). It isn't clear if this would help in catching some, I doubt it. It seems like something is eating the exception. Manually executing the myFunc() with myFunc().handle doesn't see any exceptions either.
The text was updated successfully, but these errors were encountered:
If there is null pointer exception in:
Nothing is caught or thrown by
@await myFunc()
. This is contrary to my understanding of the following from the documentation:Any exception results in a Failure, which will pass through all methods until caught
In addition, haxe complains with
Catch class parameter must be Dynamic
, if you docatch(e:tink.core.Error)
. It isn't clear if this would help in catching some, I doubt it. It seems like something is eating the exception. Manually executing the myFunc() with myFunc().handle doesn't see any exceptions either.The text was updated successfully, but these errors were encountered: