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

Add recursive type checks for Key values which themselves are CatDict instances. #57

Open
lzkelley opened this issue Jul 13, 2016 · 0 comments
Assignees

Comments

@lzkelley
Copy link
Member

Currently, if the value for a key in an Entry or CatDict is itself a CatDict (instead of a primitive; see for example), then a string literal is used as the key instead of a Key instance. This is because the Key class doesn't know how to handle a value which is not one of the (current) built-ins {STRING, NUMERIC, BOOLEAN...}.

Add a way to use Key instances to handle composite class values. Probably the best thing to do is to have the corresponding KeyCollection do the type checking...

@lzkelley lzkelley self-assigned this Jul 13, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant