Open johnwason opened 8 years ago
Can you provide some sample to reproduce? Will try to look on it, probably on next week.
This produces the error message:
public class TestClass
{
public void run()
{
var noop = run2();
}
async Task run2()
{
await Task.Delay(10);
JSIL.Verbatim.Expression("c=new DoesNotExist()");
await Task.Delay(10);
}
}
I am getting this message a lot when using async/await functions:
It seems that JavaScript exceptions are not correctly marshaled by the TrySetException stub. Is there a way to make JavaScript exceptions propagate properly when using async/await?