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

Make AbstractUnitPrefixManager less generic #1055

Open
arimer opened this issue Sep 5, 2024 · 0 comments
Open

Make AbstractUnitPrefixManager less generic #1055

arimer opened this issue Sep 5, 2024 · 0 comments
Labels
MPS 2022.2 Target MPS version of the issue

Comments

@arimer
Copy link
Member

arimer commented Sep 5, 2024

At the moment AbstractUnitPrefixManager <T extends AbstractUnitPrefix> which might lead to problems when accessing the prefix over the provided API.

GlobalUnitPrefixManager.getManager(myUnit).extractPrefix(myUnit, myUnitRef.getPresentation()).value lead to a compilation error.

@arimer arimer added the MPS 2022.2 Target MPS version of the issue label Sep 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
MPS 2022.2 Target MPS version of the issue
Projects
None yet
Development

No branches or pull requests

1 participant