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 support for recursive data structures #54

Merged
merged 1 commit into from
Jul 6, 2021

Conversation

mristin
Copy link
Owner

@mristin mristin commented Jul 6, 2021

We need to update the local namespace when we resolve type annotations
of recursive data structures when registering them over DBC meta-class
since they are still not available in the scope at that time.

This patch simply puts the class to be registered in the local
namespace.

We need to update the local namespace when we resolve type annotations
of recursive data structures when registering them over `DBC` meta-class
since they are still not available in the scope at that time.

This patch simply puts the class to be registered in the local
namespace.
@mristin mristin force-pushed the mristin/Add-test-for-cyclical-data-structures branch from 54c8a10 to 2e18dbf Compare July 6, 2021 10:58
@mristin mristin merged commit 3ae9ca8 into main Jul 6, 2021
@mristin mristin deleted the mristin/Add-test-for-cyclical-data-structures branch July 6, 2021 11:02
mristin added a commit that referenced this pull request Jul 6, 2021
* Add support for recursive data structures (#54)
@mristin mristin mentioned this pull request Jul 6, 2021
mristin added a commit that referenced this pull request Jul 6, 2021
* Add support for recursive data structures (#54)
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.

None yet

1 participant