diff options
author | Eugene Burmako <xeno.by@gmail.com> | 2012-02-08 15:58:03 +0100 |
---|---|---|
committer | Eugene Burmako <xeno.by@gmail.com> | 2012-02-08 15:58:03 +0100 |
commit | 9b03e88e982cbac4334ddffaa91fe796337cd69c (patch) | |
tree | 7c7d53f9f3e9767d50eddb7d88eb318d133a38b2 | |
parent | 99844ebc107d7c22eef64f48695cda4329be7c3b (diff) | |
download | scala-9b03e88e982cbac4334ddffaa91fe796337cd69c.tar.gz scala-9b03e88e982cbac4334ddffaa91fe796337cd69c.tar.bz2 scala-9b03e88e982cbac4334ddffaa91fe796337cd69c.zip |
Removed Code.scala
This is a logical next step after deprecating and removing LiftCode:
https://github.com/scala/scala/commit/ffc2389840852a120fecd772206d55db9a79f30e
Now when Paul has uploaded a starr that doesn't need Code, Code$ and Code.lift
we can finally remove the last remaining pieces of the old reification logic.
-rw-r--r-- | src/library/scala/reflect/Code.scala | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/src/library/scala/reflect/Code.scala b/src/library/scala/reflect/Code.scala deleted file mode 100644 index f28264c7a2..0000000000 --- a/src/library/scala/reflect/Code.scala +++ /dev/null @@ -1,25 +0,0 @@ -/* __ *\ -** ________ ___ / / ___ Scala API ** -** / __/ __// _ | / / / _ | (c) 2002-2011, LAMP/EPFL ** -** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ ** -** /____/\___/_/ |_/____/_/ | | ** -** |/ ** -\* */ - - - -package scala.reflect - -/** This type is required by the compiler and <b>should not be used in client code</b>. */ -@deprecated("Replaced with scala.reflect.macro.Context#reify, will be completely removed soon", "2.10") -class Code[T: Manifest](val tree: scala.reflect.mirror.Tree) { - val manifest = implicitly[Manifest[T]] - override def toString = "Code(tree = "+tree+", manifest = "+manifest+")" -} - -/** This type is required by the compiler and <b>should not be used in client code</b>. */ -@deprecated("Replaced with scala.reflect.macro.Context#reify, will be completely removed soon", "2.10") -object Code { - def lift[A](tree: A): Code[A] = - throw new Error("Code was not lifted by compiler") -} |