-
Notifications
You must be signed in to change notification settings - Fork 49
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
chore: update vyper 0.4.0 branch #220
chore: update vyper 0.4.0 branch #220
Conversation
@charles-cooper the remaining test should be green once this is merged (pull_request_target workflow is out-of-date) |
boa/contracts/vyper/ir_executor.py
Outdated
self.builder.extend( | ||
f""" | ||
if not bool({test}): | ||
VM.vyper_source_pos = {repr(self.ir_node.source_pos)} | ||
VM.vyper_source_pos = {repr(source and getpos(source))} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we create a small utility which wraps getpos()
to do this? i'd also like to see a proper branch
if source is None:
return None
return getpos(source)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm. thanks!
What I did
Merged master, fixing tests
Cute Animal Picture