vyperlang / vyper

Pythonic Smart Contract Language for the EVM
https://vyperlang.org
Other
4.91k stars 802 forks source link

fix[lang]: fix validation of public variable export #4375

Open charles-cooper opened 18 hours ago

charles-cooper commented 18 hours ago

this commit fixes validation of exporting public variables from self. raise a proper exception instead of panicking.

What I did

fix https://github.com/vyperlang/vyper/issues/4374

How I did it

How to verify it

Commit message

Commit message for the final, squashed PR. (Optional, but reviewers will appreciate it! Please see our commit message style guide for what we would ideally like to see in a commit message.)

Description for the changelog

Cute Animal Picture

![Put a link to a cute animal picture inside the parenthesis-->]()