diff options
author | Eugene Burmako <xeno.by@gmail.com> | 2013-12-06 18:33:25 +0100 |
---|---|---|
committer | Eugene Burmako <xeno.by@gmail.com> | 2013-12-06 18:33:25 +0100 |
commit | 5ba6e13b9ead5b24c046da9a72f6f5cf7d189ad1 (patch) | |
tree | 4fdced9245e151e67e98b790ce4dccdd6e41a1db /src/reflect | |
parent | 6926e8d4a0f9bbb6deb29586ef7134b4efa0ca2b (diff) | |
download | scala-5ba6e13b9ead5b24c046da9a72f6f5cf7d189ad1.tar.gz scala-5ba6e13b9ead5b24c046da9a72f6f5cf7d189ad1.tar.bz2 scala-5ba6e13b9ead5b24c046da9a72f6f5cf7d189ad1.zip |
undeprecates c.parse
We never thought that c.parse is going to be completely subsumed by
quasiquotes, but hoped that the use cases that are going to be lost
aren’t going to be noticed by anyone.
Unfortunately, this isn’t the case, so I’m undeprecating c.parse until
we get a better story for those for whom quasiquotes are not enough.
Diffstat (limited to 'src/reflect')
-rw-r--r-- | src/reflect/scala/reflect/macros/Parsers.scala | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/reflect/scala/reflect/macros/Parsers.scala b/src/reflect/scala/reflect/macros/Parsers.scala index cbfb30f022..9d4a7e2953 100644 --- a/src/reflect/scala/reflect/macros/Parsers.scala +++ b/src/reflect/scala/reflect/macros/Parsers.scala @@ -8,7 +8,6 @@ package macros * A slice of [[scala.reflect.macros.BlackboxContext the Scala macros context]] that * exposes functions to parse strings with Scala code into trees. */ -@deprecated("Use quasiquotes instead", "2.11.0") trait Parsers { self: BlackboxContext => @@ -16,11 +15,9 @@ trait Parsers { * Only works for expressions, i.e. parsing a package declaration will fail. * @throws [[scala.reflect.macros.ParseException]] */ - @deprecated("Use quasiquotes instead", "2.11.0") def parse(code: String): Tree } /** Indicates an error during [[scala.reflect.macros.Parsers#parse]]. */ - @deprecated("Use quasiquotes instead", "2.11.0") case class ParseException(pos: scala.reflect.api.Position, msg: String) extends Exception(msg) |