As someone still learning Scala, I have never run across this issue (though it is the one scary thing about implicit
s no one ever talks about because they seem so cool), but I think you have a few options:
- Disable the
implicit
you don't want by aliasing it to something like_
in an import (only works if theimplicit
is not in a trait) in a manner like this. - Override the
implicit
with a non-implicit
method of the same name. - Just don't import the implicit conversion. Write your own to do the same thing if needed.