-
Notifications
You must be signed in to change notification settings - Fork 58
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
Ambiguity in QQBarField conversion #1722
Comments
For these conversions, the parent object should have the say, how things are converted. This is makes it much easier to reason about and avoids these kind of ambiguities.I would argue that |
Alright, but this seems more like a long-term solution. How do we fix it right now? |
Which version of Oscar is effected? Only master? |
|
Then I think we should try to fix it in Oscar first. I will give it a try. |
We could of course include the change in the breaking Nemo release via #1725, but then you would need to get a fix until this lands in Oscar in the next few weeks (or we can then put a trivial disambiguiting method for this particular case there) |
If we are doing the breaking release now anyway, why not include it now? The workaround in Oscar is indeed trivial (a disambiguation method). But in the end I don't have strong feelings. Getting out the Nemo release with the printing changes is more of a priority |
Maybe @thofma can comment? |
Sorry, I did not have time to try to give it a try in Oscar. I agree that getting the Nemo release out is the more urgent task. |
Then I would suggest that we add this to the breaking release, and add a trivial disambiguate method to Oscar and you can try to fix it there sometime in the future. |
Since we shipped the generic method in a Nemo release now, and plan to solve it in Oscar, is there any reason to keep this issue open? |
Observed in https://github.com/Nemocas/AbstractAlgebra.jl/actions/runs/8740738993/job/23985171446?pr=1677#step:7:934
This error will occur in every OscarCI run until fixed.
I think this was introduced in #1702, but only exercised once oscar-system/Oscar.jl#3512 was merged.
@fingolfin @thofma should we fix this here or in Oscar? In Nemo, this would be a revert of some parts of #1702. In Oscar, we could add a disambiguation function like proposed in the error message. Which of the two do you prefer?
The text was updated successfully, but these errors were encountered: