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
i get TypeInfo(Playground.f,T,List())
instead this should either not compile or produce TypeInfo(scala.collection.immutable,List,List(TypeInfo(scala,Int,List())))
compare this to TypeTag behaviour on scala2:
type TypeTag[T] = scala.reflect.runtime.universe.TypeTag[T]
def f[T:TypeTag] = implicitly[TypeTag[T]]
f[List[Int]]
correctly returns TypeTag[List[Int]] or doesn't compile if you forget :TypeTag bound
The text was updated successfully, but these errors were encountered:
given code like this on "com.softwaremill.magnolia1_3" %% "magnolia" % "1.3.2"
i get
TypeInfo(Playground.f,T,List())
instead this should either not compile or produce
TypeInfo(scala.collection.immutable,List,List(TypeInfo(scala,Int,List())))
compare this to TypeTag behaviour on scala2:
correctly returns
TypeTag[List[Int]]
or doesn't compile if you forget:TypeTag
boundThe text was updated successfully, but these errors were encountered: