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
Already briefly discussed here #296, but still applies:
scala>importsyntax.std.tuple._, syntax.std.product._importsyntax.std.tuple._importsyntax.std.product._
scala>caseclassFoo(i: Int, s: String)
defined classFoo
scala>Foo(2, "a").to[List]
<console>:19:error: typemismatch;
found : Foorequired: ?{defto:?}
Note that implicit conversions are not applicable because they are ambiguous:
both method productTupleOps in traitLowPriorityTuple of type [P<:Product](p: P)shapeless.syntax.std.TupleOps[P]
and method productOps in objectproduct of type [P<:Product](p: P)shapeless.syntax.std.ProductOps[P]
are possible conversion functions from Foo to ?{defto:?}
Foo(2, "a").to[List]
^
<console>:19:error: value to is not a member of FooFoo(2, "a").to[List]
^
The text was updated successfully, but these errors were encountered:
Already briefly discussed here #296, but still applies:
The text was updated successfully, but these errors were encountered: