diff options
author | Eugene Burmako <xeno.by@gmail.com> | 2012-04-20 15:57:17 +0200 |
---|---|---|
committer | Eugene Burmako <xeno.by@gmail.com> | 2012-04-20 15:57:17 +0200 |
commit | 766499d60bd3b3790ae915c8927da6f148e91f7a (patch) | |
tree | 969886940d41b7b47d27e2223588620b47ea271e /src/library | |
parent | 016bc3db52d6f1ffa3ef2285d5801f82f5f49167 (diff) | |
download | scala-766499d60bd3b3790ae915c8927da6f148e91f7a.tar.gz scala-766499d60bd3b3790ae915c8927da6f148e91f7a.tar.bz2 scala-766499d60bd3b3790ae915c8927da6f148e91f7a.zip |
a deprecated method that I forgot to restore
Diffstat (limited to 'src/library')
-rw-r--r-- | src/library/scala/reflect/ClassTag.scala | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/library/scala/reflect/ClassTag.scala b/src/library/scala/reflect/ClassTag.scala index 06960a5478..1e56f2db57 100644 --- a/src/library/scala/reflect/ClassTag.scala +++ b/src/library/scala/reflect/ClassTag.scala @@ -123,6 +123,9 @@ object ClassTag { implicit def toDeprecatedClassManifestApis[T](ctag: ClassTag[T]): DeprecatedClassManifestApis[T] = new DeprecatedClassManifestApis[T](ctag) + @deprecated("Use apply instead", "2.10.0") + def fromClass[T](clazz: jClass[T]): ClassManifest[T] = apply(clazz) + /** Manifest for the singleton type `value.type'. */ @deprecated("Manifests aka type tags now support arbitrary types. Build a manifest directly from the type instead", "2.10.0") def singleType[T <: AnyRef](value: AnyRef): Manifest[T] = ??? |