Skip to content

Conversation

@Coronavitae
Copy link

The "store" function currently checks whether the variable to be stored is a string and crashes with an error if not. As strings are not the only type of variable that is used with store, this is unnecessary.

The "store" function currently checks whether the variable to be stored is a string and crashes with an error if not.  As strings are not the only type of variable that is used with store, this is unnecessary.
@nstbayless
Copy link
Owner

To my eyes, the code is checking that the key (i.e. the variable's name) is a string. What does it mean to restore something whose key is not a string?

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.

2 participants