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

Only rewrite bytes32 when they are literals #1718

Merged
merged 3 commits into from
Nov 12, 2019

Conversation

charles-cooper
Copy link
Member

What I did

Fix #1717

How I did it

There is a rewrite rule but was only intended for literals.

How to verify it

Description for the changelog

Cute Animal Picture

Put a link to a cute animal picture inside the parenthesis-->

@charles-cooper charles-cooper changed the title Only rewrite bytes32 when they are literals [WIP] Only rewrite bytes32 when they are literals Nov 11, 2019
@charles-cooper charles-cooper changed the title [WIP] Only rewrite bytes32 when they are literals Only rewrite bytes32 when they are literals Nov 11, 2019
The assignment should be disallowed if the RHS is not a literal.
Copy link
Contributor

@jacqueswww jacqueswww left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jacqueswww jacqueswww merged commit 6487cee into vyperlang:master Nov 12, 2019
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.

Attempting to set a variable = raw_call gives me a compiler bug AttributeError
3 participants