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

Fix global vars #1

Merged
merged 2 commits into from
Jan 23, 2024
Merged

Fix global vars #1

merged 2 commits into from
Jan 23, 2024

Conversation

svilupp
Copy link
Owner

@svilupp svilupp commented Jan 23, 2024

  • Fixed wrong initiation of CONV_HISTORY and other globals that led to UndefVarError. Moved several globals to const Ref{} pattern to ensure type stability, but it means that from now it always needs to be dereferenced with [] (eg, MAIN_INDEX[] instead of MAIN_INDEX).

@svilupp svilupp merged commit 195ebbb into main Jan 23, 2024
2 checks passed
@svilupp svilupp deleted the fix-global-vars branch January 23, 2024 19:03
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

Successfully merging this pull request may close these issues.

1 participant