Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Haxe compiler server issues with macros #6

Closed
zommerfelds opened this issue Jan 16, 2023 · 9 comments
Closed

Haxe compiler server issues with macros #6

zommerfelds opened this issue Jan 16, 2023 · 9 comments

Comments

@zommerfelds
Copy link

Do you use vscode with the Haxe compilation server mode? I had a lot of ramp up issues when using Echoes because macro issues would often get the server into a permanent broken state.

Now I trained myself to restart the Haxe compilation server whenever I see huge cryptic compiler errors :)

Just wanted to point this out in case anyone searches for the this. It's probably an issue in Haxe, but hard to repro. But maybe there are things this repo could do to avoid falling into those issues.

Sorry that I don't have a repro case right now.

@player-03
Copy link
Owner

I get those too, occasionally. I think I've managed to fix some of them, but the fact that they're so rare makes them hard to track down.

@onehundredfeet
Copy link

These are really hard to fix with this ECS. I've fixed a few as well and try to stay on top of them when I add new things.

@player-03
Copy link
Owner

It's been a couple months since my last big macro rewrite, and I haven't seen the error at all. I think maybe it's fixed.

I've been seeing a new issue in its place, though. The completion server sometimes locks up when compile errors are detected. Not sure if this new one is Echoes-related at all, but it's every bit as annoying.

@NitroPlum
Copy link

I'm also seeing this. It seems like the smallest issue causes my language server to crash.

@player-03
Copy link
Owner

Not just me, then. Ok, I'll try to make time to work on this.

@player-03
Copy link
Owner

Ugh, this is proving difficult. I've opened an issue here in hopes that someone on the Haxe team knows what's going on.

@player-03
Copy link
Owner

I finally found a workaround!

I've only tested it on my computer, but it should work anywhere. Let me know if not.

@zommerfelds
Copy link
Author

zommerfelds commented Jan 5, 2024 via email

@player-03
Copy link
Owner

Still haven't found the root of it, but I think that's for the Haxe devs to deal with. In the meantime, we have the workaround.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants