Skip to content

#320 #321 #322 Reference reuse: per-TTarget keys, omit redundant Add, cache manager local - #333

Merged
sanelli merged 4 commits into
mainfrom
320-reference-reuse-define-behavior-when-stored-target-type-does-not-match-trygetreferencet
Aug 9, 2026
Merged

#320 #321 #322 Reference reuse: per-TTarget keys, omit redundant Add, cache manager local#333
sanelli merged 4 commits into
mainfrom
320-reference-reuse-define-behavior-when-stored-target-type-does-not-match-trygetreferencet

Conversation

@sanelli

@sanelli sanelli commented Aug 9, 2026

Copy link
Copy Markdown
Owner

Summary

Test plan

  • .\Scripts\RunTestsAndReportCoverage.ps1 (coverage ≥ baseline: line 98.4%, branch 91%, method 100%)
  • .\Scripts\RebuildUponVersionChange.ps1 through samples/AOT/benchmarks
  • Dry-run ReferenceReusingCycleBenchmark / ReferenceReusingSharedDagBenchmark
  • CI green on this PR

Closes #320
Closes #321
Closes #322

sanelli and others added 4 commits August 9, 2026 09:42
Replace source-only reference slots with a composite key and generic AddReferencePair so the same source can map to different declared target types without silent overwrite. Bump to 10.2.0-alpha.65.

Co-authored-by: Cursor <cursoragent@cursor.com>
…ferencePair.

Emit a per-map-method MappaReferenceManager temporary, use generic AddReferencePair, and skip exit registration when early Add or a reusing callee already registered. Update generator integration assertions and builder-context coverage.

Co-authored-by: Cursor <cursoragent@cursor.com>
Cover Compatible/Polymorphic method-map omit paths, non-reusing callee exit Add, unconstrained type-parameter eligibility, and before/after hooks with ReferenceReusing.

Co-authored-by: Cursor <cursoragent@cursor.com>
…e AddReferencePair args.

Bump to alpha.67 after fixing CS8634 for nullable type arguments on AddReferencePair, and document composite-key reuse, manager locals, and early vs exit registration.

Co-authored-by: Cursor <cursoragent@cursor.com>
@github-actions

github-actions Bot commented Aug 9, 2026

Copy link
Copy Markdown

Code coverage

Compared against the latest published coverage history from the code coverage gist.

Metric Baseline PR Δ Trend
Line 98.4% 98.4% 0 =
Branch 90.9% 91% +0.1
Method 100% 100% 0 =

No coverage metric dropped by more than 1 percentage point(s) versus baseline.

@sanelli
sanelli merged commit 05358db into main Aug 9, 2026
1 check passed
@sanelli
sanelli deleted the 320-reference-reuse-define-behavior-when-stored-target-type-does-not-match-trygetreferencet branch August 9, 2026 09:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant