Skip to content
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

Add support for key_set qualifier #633

Merged

Conversation

JulienBortolussiAda
Copy link
Contributor

key_set qualifiers expect semi-colon separated list as value.

#630

@JulienBortolussiAda
Copy link
Contributor Author

Maybe I could add a way to set the separator

src/e3/anod/qualifiers_manager.py Outdated Show resolved Hide resolved
src/e3/anod/qualifiers_manager.py Outdated Show resolved Hide resolved
src/e3/anod/qualifiers_manager.py Outdated Show resolved Hide resolved
src/e3/anod/qualifiers_manager.py Outdated Show resolved Hide resolved
src/e3/anod/qualifiers_manager.py Outdated Show resolved Hide resolved
src/e3/anod/qualifiers_manager.py Show resolved Hide resolved
@JulienBortolussiAda JulienBortolussiAda marked this pull request as ready for review October 3, 2023 10:07
"""See QualifierDeclaration.default."""
return self._default

def value(self, value: str | bool | frozenset[str]) -> str | bool | frozenset[str]:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

there is no case in which a frozen set is accepted as input

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have also remove bool for the same reason. If I missed something, let me know.

key_set qualifiers expect semi-colon separated list as value.
@Nikokrock Nikokrock merged commit 5f8a585 into AdaCore:master Oct 4, 2023
6 checks passed
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.

3 participants