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

asserts #43

Open
Bibi56 opened this issue Dec 28, 2021 · 0 comments
Open

asserts #43

Bibi56 opened this issue Dec 28, 2021 · 0 comments

Comments

@Bibi56
Copy link

Bibi56 commented Dec 28, 2021

add "-ea" in VM options in run config for the asserts to work
(in README.md)

I don't know if this needs some rewriting or the code.
But asserts are optimized (at least on some JVMs).
So:
assert begin(gl);
Does... nothing without adding -ea
boolean result = begin(gl);
assert result;
Would be fine with or without the option.

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

1 participant