- About Scala
- Documentation
- Code Examples
- Software
- Scala Developers
Re: Overloaded implicits
Wed, 2011-12-28, 05:57
Thanks Paul. I meant in case they are both visible (and implicit) the name is irrelevant since the compiler picks the right signature regardless of the method name.
On Tue, Dec 27, 2011 at 9:20 PM, Paul Phillips <paulp@improving.org> wrote:
On Tue, Dec 27, 2011 at 9:20 PM, Paul Phillips <paulp@improving.org> wrote:
On Tue, Dec 27, 2011 at 4:37 PM, John Shahid <jvshahid@gmail.com> wrote:
Is there a reason for this behavior. My argument is that the name is irrelevant.You'll have to take it up with the spec, but the name is surely not irrelevant. You can for instance mask out implicits by defining a non-implicit value with the same name in a closer scope.