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
@SethTisue said:
Seems like an oversight. evidence: the deprecation message says "Use scala.reflect.runtime.universe.TypeTag for subtype checking instead". But (unlike ClassTag) TypeTag is experimental in 2.10, and methods shouldn't be deprecated if the alternatives are still experimental.
We talked about it earlier and decided the existing behavior of <;< needed to be depreacted. While TypeTags aren't "stable" yet, the behavior of <:< is something we want people not to use regardless of whether or not TypeTags become stable...
btw, in case anyone sees this and gets confused (as I did for a little bit just now): Predef has classes called <:< etc, used to implement methods such as toMap. Those classes are not deprecated. This ticket isn't about them. It's about the methods on Manifest.
From what I understand Manifest was un-deprecated.
But it looks surprising that a bunch of his methods (<:<, >:>, erasure) are deprecated:
http://www.scala-lang.org/archives/downloads/distrib/files/nightly/docs/library/index.html#scala.reflect.Manifest
Sounds like it should be completely deprecated or not, am I missing something?
The text was updated successfully, but these errors were encountered: