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
It is not very clear how implicit resolution works in presence of (possibly failing) macro expansions.
Example:
implicitinlinedefeqGenInt:Eq[Int] =${ ... } // throws on expansion, so not actually overlappingimplicitdefeqInt:Eq[Int] =newEq[Int] { ... }
For now it seems that failing expansion is ignored and implicit resolution proceeds to other instances, even if they are "overlapping" (modulo expansion failures).
Can I rely on this behaviour?
If so, it would be great to have it documented somewhere.