diff options
author | Grzegorz Kossakowski <grzegorz.kossakowski@gmail.com> | 2012-10-03 16:25:42 +0200 |
---|---|---|
committer | Grzegorz Kossakowski <grzegorz.kossakowski@gmail.com> | 2012-10-03 16:25:42 +0200 |
commit | 9b2154e43a8a138e561a004ccab85660d3c0b4dd (patch) | |
tree | a271163aa9d6a9c79b1d5f03297bc9296b101fb8 /src/compiler/scala/tools/nsc/interactive | |
parent | d85224b3a1b0884172ee6985b643a2dda49094d6 (diff) | |
parent | 5b9af1b9ff327e8efa2c8b6e8b9ed8d3cdf2598e (diff) | |
download | scala-9b2154e43a8a138e561a004ccab85660d3c0b4dd.tar.gz scala-9b2154e43a8a138e561a004ccab85660d3c0b4dd.tar.bz2 scala-9b2154e43a8a138e561a004ccab85660d3c0b4dd.zip |
Merge remote-tracking branch 'scala/2.10.x'
Conflicts:
build.number
src/reflect/scala/reflect/internal/Types.scala
Diffstat (limited to 'src/compiler/scala/tools/nsc/interactive')
-rw-r--r-- | src/compiler/scala/tools/nsc/interactive/CompilerControl.scala | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/compiler/scala/tools/nsc/interactive/CompilerControl.scala b/src/compiler/scala/tools/nsc/interactive/CompilerControl.scala index 3de2359ce3..ae38a082ca 100644 --- a/src/compiler/scala/tools/nsc/interactive/CompilerControl.scala +++ b/src/compiler/scala/tools/nsc/interactive/CompilerControl.scala @@ -69,11 +69,11 @@ trait CompilerControl { self: Global => * if it does not yet exist create a new one atomically * Note: We want to get roid of this operation as it messes compiler invariants. */ - @deprecated("use getUnitOf(s) or onUnitOf(s) instead") + @deprecated("use getUnitOf(s) or onUnitOf(s) instead", "2.10.0") def unitOf(s: SourceFile): RichCompilationUnit = getOrCreateUnitOf(s) /** The compilation unit corresponding to a position */ - @deprecated("use getUnitOf(pos.source) or onUnitOf(pos.source) instead") + @deprecated("use getUnitOf(pos.source) or onUnitOf(pos.source) instead", "2.10.0") def unitOf(pos: Position): RichCompilationUnit = getOrCreateUnitOf(pos.source) /** Removes the CompilationUnit corresponding to the given SourceFile @@ -232,7 +232,7 @@ trait CompilerControl { self: Global => /** Tells the compile server to shutdown, and not to restart again */ def askShutdown() = scheduler raise ShutdownReq - @deprecated("use parseTree(source) instead") // deleted 2nd parameter, as this has to run on 2.8 also. + @deprecated("use parseTree(source) instead", "2.10.0") // deleted 2nd parameter, as this has to run on 2.8 also. def askParse(source: SourceFile, response: Response[Tree]) = respond(response) { parseTree(source) } |