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
importscala.annotation.implicitNotFound@implicitNotFound("Not found for ${A}")
typeF[A]
@implicitNotFound("Not found for ${A}")
traitG[A]
deff[T] givenF[T] =???defg[T] givenG[T] =???@main defMain= {
f[String]
g[String]
}
Out:
--Error: ../pg/Main.scala:13:11-----------------------------------------------13| f[String]
|^|Not found for${A}
--Error: ../pg/Main.scala:14:11-----------------------------------------------14| g[String]
|^|Not found forString
two errors found