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

allow multiple assignment to immutables #3397

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

charles-cooper
Copy link
Member

What I did

cf. #3278 and #3162, relaxing the restriction might be less confusing. also reference types (like dynamic arrays) can be modified in the constructor. creating this as draft until the language change is discussed further

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-->

@codecov-commenter
Copy link

Codecov Report

Merging #3397 (b0635f1) into master (d9e376c) will decrease coverage by 21.35%.
The diff coverage is n/a.

❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

@@             Coverage Diff             @@
##           master    #3397       +/-   ##
===========================================
- Coverage   88.92%   67.58%   -21.35%     
===========================================
  Files          86       86               
  Lines       10726    10723        -3     
  Branches     2440     2438        -2     
===========================================
- Hits         9538     7247     -2291     
- Misses        787     2842     +2055     
- Partials      401      634      +233     
Impacted Files Coverage Δ
vyper/semantics/analysis/base.py 70.42% <ø> (-10.83%) ⬇️

... and 57 files with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

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