Skip to content

parser: warn on @[deprecated_after] used without a corresponding @[deprecated] attribute#25712

Merged
spytheman merged 6 commits into
vlang:masterfrom
spytheman:warn_on_deprecated_after_without_deprecated_attribute
Nov 12, 2025
Merged

parser: warn on @[deprecated_after] used without a corresponding @[deprecated] attribute#25712
spytheman merged 6 commits into
vlang:masterfrom
spytheman:warn_on_deprecated_after_without_deprecated_attribute

Conversation

@spytheman

Copy link
Copy Markdown
Contributor
  • parser: error when @[deprecated_after] is used without @[deprecated]
  • fix vlib/v/util/diff/diff.v
  • fix vlib/x/crypto/chacha20/chacha.v

@spytheman spytheman changed the title warn on deprecated after without deprecated attribute parser: error on @[deprecated_after] used without a corresponding @[deprecated] attribute Nov 11, 2025
@spytheman

Copy link
Copy Markdown
Contributor Author

Deprecates #25480 , by requiring the use of @[deprecated] for each @[deprecated_after].

@spytheman spytheman changed the title parser: error on @[deprecated_after] used without a corresponding @[deprecated] attribute parser: warn on @[deprecated_after] used without a corresponding @[deprecated] attribute Nov 11, 2025
@spytheman spytheman merged commit 4c22789 into vlang:master Nov 12, 2025
82 of 83 checks passed
@spytheman spytheman deleted the warn_on_deprecated_after_without_deprecated_attribute branch November 12, 2025 00:42
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.

1 participant