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

Compile gets stuck with syntax error #2266

Open
Gfurst opened this issue Apr 6, 2018 · 3 comments
Open

Compile gets stuck with syntax error #2266

Gfurst opened this issue Apr 6, 2018 · 3 comments

Comments

@Gfurst
Copy link

Gfurst commented Apr 6, 2018

Trying to compile a script with some syntax error, like WHEN x {...}will thrown the usual expected error but terminal will get stuck in a loop trying, throwing the same error over and over again (with the incessant beeping it comes with).

@utoxin
Copy link

utoxin commented Apr 8, 2018

I'm seeing this as well.

@Dunbaratu
Copy link
Member

I can confirm. It took me a while to realize you meant the literal compile command here that's used to create KSM files, not the "compile a script" that happens automatically when you issue a normal run command.

@Dunbaratu
Copy link
Member

Dunbaratu commented Apr 9, 2018

This may be quite similar to the problem from an old issue a while ago, which I fixed with this PR:

#2205

It may be that there's yet another case where an early exception aborts before kOS sets a flag telling it the compile thread already happened, so it "forgets" that it already did the compile, and tries it again on the next update tick.

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

3 participants