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
C:\Projects\Kepler\sandbox @ ticket/6329>myke compile Test.scala
Test.scala:7:error: ambiguous implicitvalues:
both value m1 in objectTest of type=>ClassManifest[Int]
and value m2 in objectTest of type=>ClassManifest[String]
match expected typescala.reflect.OptManifest[Any]
println(classManifest[List[Any]])
^
one error found
The text was updated successfully, but these errors were encountered:
@xeno-by said:
OptManifest is covariant in T (no idea why), hence implicit manifests in scope can prevent some manifests from being constructed (for types that are subtypes of the lub of those manifests).
The text was updated successfully, but these errors were encountered: