summaryrefslogtreecommitdiff
path: root/src/compiler/scala/tools/nsc/Global.scala
diff options
context:
space:
mode:
Diffstat (limited to 'src/compiler/scala/tools/nsc/Global.scala')
-rw-r--r--src/compiler/scala/tools/nsc/Global.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/compiler/scala/tools/nsc/Global.scala b/src/compiler/scala/tools/nsc/Global.scala
index 708824ede1..12c3338e0d 100644
--- a/src/compiler/scala/tools/nsc/Global.scala
+++ b/src/compiler/scala/tools/nsc/Global.scala
@@ -1047,7 +1047,7 @@ class Global(var currentSettings: Settings, var reporter: Reporter)
*
* @param sym A class symbol, object symbol, package, or package class.
*/
- @deprecated("use invalidateClassPathEntries instead")
+ @deprecated("use invalidateClassPathEntries instead", "2.10.0")
def clearOnNextRun(sym: Symbol) = false
/* To try out clearOnNext run on the scala.tools.nsc project itself
* replace `false` above with the following code
@@ -1305,7 +1305,7 @@ class Global(var currentSettings: Settings, var reporter: Reporter)
/** Reset all classes contained in current project, as determined by
* the clearOnNextRun hook
*/
- @deprecated("use invalidateClassPathEntries instead")
+ @deprecated("use invalidateClassPathEntries instead", "2.10.0")
def resetProjectClasses(root: Symbol): Unit = try {
def unlink(sym: Symbol) =
if (sym != NoSymbol) root.info.decls.unlink(sym)