Skip to content

feat: apply @[mvcgen_invariant_type] to Invariant, StringInvariant, StringSliceInvariant#12880

Merged
sgraf812 merged 1 commit intomasterfrom
mvcgen-invariant-type-pr2
Mar 11, 2026
Merged

feat: apply @[mvcgen_invariant_type] to Invariant, StringInvariant, StringSliceInvariant#12880
sgraf812 merged 1 commit intomasterfrom
mvcgen-invariant-type-pr2

Conversation

@sgraf812
Copy link
Copy Markdown
Contributor

This PR applies @[mvcgen_invariant_type] to Std.Do.Invariant and removes the hard-coded fallback in isMVCGenInvariantType that was needed for bootstrapping (cf. #12874). It also extracts StringInvariant and StringSliceInvariant as named abbreviations tagged with @[mvcgen_invariant_type], so that mvcgen classifies string and string slice loop invariants correctly.

🤖 Generated with Claude Code

…nt`, `StringSliceInvariant`

This PR applies `@[mvcgen_invariant_type]` to `Std.Do.Invariant` and removes the hard-coded fallback in `isMVCGenInvariantType` that was needed for bootstrapping. It also extracts `StringInvariant` and `StringSliceInvariant` as named abbreviations tagged with `@[mvcgen_invariant_type]`, so that `mvcgen` classifies string and string slice loop invariants correctly.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@sgraf812 sgraf812 added the changelog-language Language features and metaprograms label Mar 11, 2026
@sgraf812 sgraf812 enabled auto-merge March 11, 2026 09:56
@sgraf812 sgraf812 added this pull request to the merge queue Mar 11, 2026
Merged via the queue into master with commit 17807e1 Mar 11, 2026
21 checks passed
@sgraf812 sgraf812 deleted the mvcgen-invariant-type-pr2 branch March 11, 2026 10:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog-language Language features and metaprograms

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant