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

Refactor Namespace object #2034

Merged

Conversation

iamdefinitelyahuman
Copy link
Contributor

What I did

Simplify the Namespace object.

How I did it

Remove Namespace.enter_builtin_scope, and instead add the builtins when initializing Namespace. This makes for simpler code and solves an issue I'm having when implementing #1980. I'm not sure why I didn't do it this way to begin with 😬

How to verify it

Run tests.

Cute Animal Picture

image

@iamdefinitelyahuman iamdefinitelyahuman merged commit 7449c8e into vyperlang:master Jun 25, 2020
@iamdefinitelyahuman iamdefinitelyahuman deleted the fix-namespace branch June 25, 2020 15:02
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