You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 an Option[Boolean]. What's wrong with Option(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:
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: