This page is no longer maintained — Please continue to the home page at

Re: Overloaded implicits

No replies
John Shahid
Joined: 2011-12-27,
User offline. Last seen 42 years 45 weeks ago.
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 [at] improving [dot] org> wrote:

On Tue, Dec 27, 2011 at 4:37 PM, John Shahid <jvshahid [at] gmail [dot] 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.

Copyright © 2012 École Polytechnique Fédérale de Lausanne (EPFL), Lausanne, Switzerland