Skip to content

Add support for -W:category flag#7436

Merged
headius merged 1 commit intojruby:masterfrom
headius:warning_category_flag
Nov 10, 2022
Merged

Add support for -W:category flag#7436
headius merged 1 commit intojruby:masterfrom
headius:warning_category_flag

Conversation

@headius
Copy link
Member

@headius headius commented Nov 10, 2022

  • Move active set of categories into Ruby state.
  • Handle -W with :deprecated, :no-deprecated, :experimental, and :no-experimental.

A behavioral difference remains, in that if -W is not followed by a digit or a colon, the next character is interpreted as the next single-character command-line flag.

* Move active set of categories into Ruby state.
* Handle -W with :deprecated, :no-deprecated, :experimental, and
  :no-experimental.

A behavioral difference remains, in that if -W is not followed by
a digit or a colon, the next character is interpreted as the next
single-character command-line flag.
@headius headius added this to the JRuby 9.4.0.0 milestone Nov 10, 2022
This was referenced Nov 10, 2022
@headius headius merged commit 11169a7 into jruby:master Nov 10, 2022
@headius headius deleted the warning_category_flag branch November 10, 2022 21:39
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