-
Notifications
You must be signed in to change notification settings - Fork 426
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
negatable=true option in an ArgGroup tries to add negated option twice #2344
Labels
theme: annotation-proc
An issue or change related to the annotation processor
theme: arg-group
An issue or change related to argument groups
type: bug 🐛
Milestone
Comments
remkop
added
type: bug 🐛
theme: annotation-proc
An issue or change related to the annotation processor
labels
Nov 3, 2024
There are some issues in the annotation processor, but the cause of the problem has to do with the hashCode of OptionSpec changing when it is added to a CommandSpec. This causes internal bookkeeping to fail, and options are incorrectly added twice. NOTE TO SELF:
and
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
theme: annotation-proc
An issue or change related to the annotation processor
theme: arg-group
An issue or change related to argument groups
type: bug 🐛
The following example uses a Mixin to add an ArgGroup which contains two boolean flags.
Setting "negatable = true" on them breaks compilation with the following:
DuplicateOptionAnnotationsException
JDK: Azul Zulu 21.0.4
Maven: 3.8.7
OS: Windows
If I can provide any more useful info, please let me know!
The text was updated successfully, but these errors were encountered: