Skip to content

Assignement in tuple alias - #3002

Merged
PaulKlint merged 4 commits into
mainfrom
fix-generic-tuple-alias-field-assign
Nov 17, 2026
Merged

PaulKlint merged 4 commits into
mainfrom
fix-generic-tuple-alias-field-assign

Conversation

@jbdoderlein

Copy link
Copy Markdown
Contributor

Follow-up of #2913: assigning a field of a tuple whose static type is a parameterized alias faile :

alias Pair[&T] = tuple[&T first, int second];

Pair[str] p = <"a", 1>;
p.second = 2;         // Undeclared field: second for Pair[str]

@codecov

codecov Bot commented Nov 17, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 46%. Comparing base (4194fde) to head (446bbd9).

Additional details and impacted files
@@           Coverage Diff           @@
##              main   #3002   +/-   ##
=======================================
  Coverage       46%     46%           
- Complexity    6889    6898    +9     
=======================================
  Files          851     851           
  Lines        69233   69233           
  Branches     10084   10084           
=======================================
+ Hits         32053   32056    +3     
+ Misses       34753   34748    -5     
- Partials      2427    2429    +2     

☔ View full report in Codecov by Harness.
📢 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.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@sonarqubecloud

Copy link
Copy Markdown

@PaulKlint

Copy link
Copy Markdown
Member

@PaulKlint
PaulKlint merged commit 8e96a62 into main Nov 17, 2026
9 checks passed
@PaulKlint
PaulKlint deleted the fix-generic-tuple-alias-field-assign branch November 17, 2026 18:49
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