Skip to content

fix[parser]: block value assignment in for targets#4492

Merged
charles-cooper merged 5 commits intovyperlang:masterfrom
charles-cooper:fix/parser/for-annotation
Mar 11, 2025
Merged

fix[parser]: block value assignment in for targets#4492
charles-cooper merged 5 commits intovyperlang:masterfrom
charles-cooper:fix/parser/for-annotation

Conversation

@charles-cooper
Copy link
Copy Markdown
Member

@charles-cooper charles-cooper commented Feb 24, 2025

What I did

How I did it

How to verify it

Commit message

block statements of the form `for x: uint256 = 5 in ...`; they should
not be allowed.

Description for the changelog

Cute Animal Picture

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

block statements of the form `for x: uint256 = 5 in ...`; it should not
be allowed.
@codecov
Copy link
Copy Markdown

codecov bot commented Feb 24, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.04%. Comparing base (ebf124f) to head (83d39d8).
Report is 92 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #4492   +/-   ##
=======================================
  Coverage   92.04%   92.04%           
=======================================
  Files         120      120           
  Lines       17362    17364    +2     
  Branches     2941     2942    +1     
=======================================
+ Hits        15981    15983    +2     
  Misses        964      964           
  Partials      417      417           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Copy Markdown
Collaborator

@cyberthirst cyberthirst left a comment

Choose a reason for hiding this comment

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

lgtm, let's just please merge: charles-cooper#62

@charles-cooper charles-cooper changed the title fix[parser]: block value assignment in for stmt fix[parser]: block value assignment in for statements Mar 11, 2025
@charles-cooper charles-cooper changed the title fix[parser]: block value assignment in for statements fix[parser]: block value assignment in for targets Mar 11, 2025
@charles-cooper charles-cooper enabled auto-merge (squash) March 11, 2025 13:17
@charles-cooper charles-cooper merged commit 57b9854 into vyperlang:master Mar 11, 2025
162 checks passed
@charles-cooper charles-cooper deleted the fix/parser/for-annotation branch March 11, 2025 13:34
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.

2 participants