Aleksandr Kuzmenko
Aleksandr Kuzmenko
It's pretty much the same as your snippet, except `try..catch` is not getenerated, but state machine is executed inside of a `try...catch` instead when entering corresponding state.
In my implementation i collect positions of async stack at compile time as strings, which is pretty cheap. And then attach a runtime stack clipped from the place it was...
Yeah, I can't reproduce this with `--wait` even repeating exact same commands and file modifications vshaxe does.
Btw, that `cannot call null` comes from `haxe.macro.Context` static prototype being used without its fields populated.
Provided sample works fine now.
Test disabled because of Win32 failure: https://dev.azure.com/HaxeFoundation/GitHubPublic/_build/results?buildId=950&view=logs&j=e61806a3-e319-5a7c-85d5-a2d0ec789e63&t=962e5de9-78fb-5a57-b35d-753d148002b2&l=446
Yeah, this is probably an issue of the extern generator. Keeping the issue here to not forget it in 4.1 release
@justin-espedal please check if the latest development build works for you: https://build.haxe.org/builds/haxe/ Also check #10110
Ah, indeed. Sorry I didn't read it thoroughly.
Recently I did this for mac https://github.com/HaxeFoundation/haxe/commit/62ee6a9a8e727de30ac7c8f6c82a3e8f42b9a22b And it works.