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
scala>classC {
|defconforms(x: Int, y: Int) = x < y
|valxs=List((1, 2), (3, 4))
| println(xs.unzip)
| }
<console>:11:error: Noimplicit view available from (Int, Int) => (A1, A2).
println(xs.unzip) ^
The problem is that Predef.conforms is shadowed by the local conforms. It took me a while to figure out what happened.
IMO this is a trap waiting to happen for everyone. We should avoid it by finding a less conspicuous name for the conversion. Ideally with a dollar in it.