Skip to content

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

Merged
fubuloubu merged 3 commits into
vyperlang:masterfrom
iamdefinitelyahuman:fix-empty-events
Dec 2, 2020
Merged

Fix: empty static-sized arrays within log statement#2235
fubuloubu merged 3 commits into
vyperlang:masterfrom
iamdefinitelyahuman:fix-empty-events

Conversation

@iamdefinitelyahuman

@iamdefinitelyahuman iamdefinitelyahuman commented Nov 29, 2020

Copy link
Copy Markdown
Contributor

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