Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Improve error message for overriding acceptable compiler version #343
It is not clear that the user should put the actual compiler version to the version field of the package. I think the UX can be improved by giving a concrete example in the error message.
Consider the following:
Where "..." stands for the actual version. Or maybe describing the process in plain English would be better.
Also, I think that some special version value like "any" could be used to silence the compiler version check completely (useful to simplify the process of checking the code against multiple compiler versions).
Yep, the change you proposed sounds great!
I'm not too keen on this as it feels like a slippery slope - e.g. if we do this why not do also wildcards, etc. Note that there already is a level of magic to this: e.g. if you're on a package set with
In the case of "checking the code against multiple compiler versions" I assume the whole process is automated and probably happening in CI, so having some automation to generate the right overrides for the