Skip to content

Commit d938f59

Browse files
committed
Merge pull request scala#3231 from xeno-by/topic/undeprecate-parse
undeprecates c.parse
2 parents 6926e8d + 5ba6e13 commit d938f59

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/reflect/scala/reflect/macros/Parsers.scala

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,16 @@ package macros
88
* A slice of [[scala.reflect.macros.BlackboxContext the Scala macros context]] that
99
* exposes functions to parse strings with Scala code into trees.
1010
*/
11-
@deprecated("Use quasiquotes instead", "2.11.0")
1211
trait Parsers {
1312
self: BlackboxContext =>
1413

1514
/** Parses a string with a Scala expression into an abstract syntax tree.
1615
* Only works for expressions, i.e. parsing a package declaration will fail.
1716
* @throws [[scala.reflect.macros.ParseException]]
1817
*/
19-
@deprecated("Use quasiquotes instead", "2.11.0")
2018
def parse(code: String): Tree
2119
}
2220

2321
/** Indicates an error during [[scala.reflect.macros.Parsers#parse]].
2422
*/
25-
@deprecated("Use quasiquotes instead", "2.11.0")
2623
case class ParseException(pos: scala.reflect.api.Position, msg: String) extends Exception(msg)

0 commit comments

Comments
 (0)