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 repr for Mapping #2090

Merged

Conversation

iamdefinitelyahuman
Copy link
Contributor

What I did

Add a __repr__ method to MappingDefinition. Without this, the error messages related to mappings are weird.

Cute Animal Picture

image

vyper/context/types/indexable/mapping.py Outdated Show resolved Hide resolved
@iamdefinitelyahuman iamdefinitelyahuman merged commit 31bcf22 into vyperlang:master Jul 3, 2020
@iamdefinitelyahuman iamdefinitelyahuman deleted the fix-hashmap-repr branch July 3, 2020 22:17
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