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

Validate that tuple attributes are prefixed with 'item' #401

Merged
merged 1 commit into from
May 13, 2021

Conversation

g-r-a-n-t
Copy link
Member

@g-r-a-n-t g-r-a-n-t commented May 10, 2021

What was wrong?

closes #396 and closes #399

How was it fixed?

We weren't verifying that tuple attributes started with "item", which resulted in undefined attributes such as iteo0 making it to the post-lowering analysis stage.

To-Do

  • OPTIONAL: Update Spec if applicable

  • Add entry to the release notes (may forgo for trivial changes)

  • Clean up commit history

)
);

fe_analyzer::analyze(&actual_lowered_ast).expect("analysis of the lowered module failed");
Copy link
Member Author

Choose a reason for hiding this comment

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

Not necessarily related, but thought this would be helpful.

@g-r-a-n-t g-r-a-n-t requested a review from sbillig May 10, 2021 23:37
Copy link
Collaborator

@sbillig sbillig left a comment

Choose a reason for hiding this comment

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

lgtm

@sbillig sbillig merged commit df7c1d6 into ethereum:master May 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment