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

switch() blocks in templates can only be evaluated once #202

Closed
solemnwarning opened this issue Apr 29, 2023 · 1 comment
Closed

switch() blocks in templates can only be evaluated once #202

solemnwarning opened this issue Apr 29, 2023 · 1 comment
Labels
Milestone

Comments

@solemnwarning
Copy link
Owner

The template code gets corrupted when evaluating a switch() block - it works fine first time, but if the same switch() block is executed a second time (e.g. refused in a struct/function), then it'll crash the interpreter.

@solemnwarning
Copy link
Owner Author

Fixed in ab50e1f.

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

No branches or pull requests

1 participant