We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Given a trait defined as:
@trait(selector: ":is(string, blob, member:test( > :is(string, blob)))") intEnum someTrait { FIRST = 1, SECOND = 2, THIRD = 3, FOURTH = 4, FIFTH = 5 }
And a usage defined as:
@someTrait(5) string SomeString
Errors are received when generating:
SomeTrait.type does not take parameters SomeTrait(5)
Seems it should be using SomeTrait.FIFTH rather than SomeTrait(5) (or something similar).
SomeTrait.FIFTH
SomeTrait(5)
The text was updated successfully, but these errors were encountered:
Thanks for reporting, I should have some time to look at this tomorrow and will report back with what I find and hopefully a PR to fix.
Sorry, something went wrong.
Does this affect normal enums too?
I suspect that it does but I have not tested it
I'll test that out too while I'm at it.
lewisjkl
Successfully merging a pull request may close this issue.
Given a trait defined as:
And a usage defined as:
Errors are received when generating:
Seems it should be using
SomeTrait.FIFTH
rather thanSomeTrait(5)
(or something similar).The text was updated successfully, but these errors were encountered: