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

Do not set non-array variables in @init #65

Closed
jtackaberry opened this issue Jun 13, 2019 · 0 comments
Labels
bug

Comments

@jtackaberry
Copy link
Owner

@jtackaberry jtackaberry commented Jun 13, 2019

Per the documentation:

Note also that you should not clear any variables saved/loaded by @serialize in @init, as sometimes @init will be called following @serialize.

Reaticulate is committing this sin. The non-array variables should be initialized in the once-per-lifetime section of @serialize.

@jtackaberry jtackaberry added the bug label Jun 13, 2019
@jtackaberry jtackaberry added this to the 0.4.0 milestone Jun 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.