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
Documentation on new AutoUnboxing wart is missing #646
Labels
Comments
@xuwei-k You've flagged this ticket as "Needs help", but how can I help? |
I think you are supposed to call |
A year later, I'm here for the same reasons... Why is this needed? 🤔 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello,
I'm struggling with the new
AutoUnboxing
wart that was introduced in 3.0.4.For example, I have some Java API that returns a
java.lang.Boolean
and I want to make it anOption[Boolean]
. What's wrong withOption(javaBooleanWrapper)
and how should I fix it?Honestly, more than often, I'm puzzled on the motivation behind some warts and how to fix. I would be great to have some explanations in the documentation and guidelines in the documentation, possibly with a pointer in the compiler error.
Regards,
Stéphane
The text was updated successfully, but these errors were encountered: