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

Fix: empty static-sized arrays within log statement #2235

Merged
merged 3 commits into from
Dec 2, 2020

Conversation

iamdefinitelyahuman
Copy link
Contributor

@iamdefinitelyahuman iamdefinitelyahuman commented Nov 29, 2020

What I did

Allow use of empty with static-sized arrays, inside an event logging statement.

Closes #2158

How I did it

Expanded logic in parser.events - this is very similar to logic in #2234

How to verify it

Run tests. I added some cases.

Cute Animal Picture

image

@iamdefinitelyahuman iamdefinitelyahuman changed the title Fix empty events Fix: empty static-sized arrays within log statement Nov 29, 2020
@fubuloubu fubuloubu merged commit cfbc9a8 into vyperlang:master Dec 2, 2020
@iamdefinitelyahuman iamdefinitelyahuman deleted the fix-empty-events branch December 4, 2020 10:32
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.

Cannot use empty for an array inside an event log
2 participants