diff options
author | Vlad Ureche <vlad.ureche@epfl.ch> | 2016-03-06 22:06:05 +0100 |
---|---|---|
committer | Vlad Ureche <vlad.ureche@epfl.ch> | 2016-03-06 22:06:05 +0100 |
commit | 0f0afb50796e9f31b1070190dfafab8a3b24984d (patch) | |
tree | 8f4453151f9a5fac30dd55cd347033a6a8eaa6dc /src | |
parent | 969a541d34d2d4578c81cbb2f9e061101ac5ccd7 (diff) | |
parent | 687d3bb116ba50a1935bf7b526a06e99e0eb6952 (diff) | |
download | scala-0f0afb50796e9f31b1070190dfafab8a3b24984d.tar.gz scala-0f0afb50796e9f31b1070190dfafab8a3b24984d.tar.bz2 scala-0f0afb50796e9f31b1070190dfafab8a3b24984d.zip |
Merge pull request #5010 from janekdb/2.12.x-deprecate-expand-all-types
SI-6886: Deprecate -expand-all-types
Diffstat (limited to 'src')
-rw-r--r-- | src/scaladoc/scala/tools/nsc/doc/Settings.scala | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/scaladoc/scala/tools/nsc/doc/Settings.scala b/src/scaladoc/scala/tools/nsc/doc/Settings.scala index 8a341a92d5..de86acb6d6 100644 --- a/src/scaladoc/scala/tools/nsc/doc/Settings.scala +++ b/src/scaladoc/scala/tools/nsc/doc/Settings.scala @@ -14,6 +14,9 @@ import scala.language.postfixOps * @param printMsg A function that prints the string, without any extra boilerplate of error */ class Settings(error: String => Unit, val printMsg: String => Unit = println(_)) extends scala.tools.nsc.Settings(error) { + // TODO 2.13 Remove + private def removalIn213 = "This flag is scheduled for removal in 2.13. If you have a case where you need this flag then please report a bug." + /** A setting that defines in which format the documentation is output. ''Note:'' this setting is currently always * `html`. */ val docformat = ChoiceSetting ( @@ -199,10 +202,11 @@ class Settings(error: String => Unit, val printMsg: String => Unit = println(_)) "" ) + // TODO 2.13 Remove val docExpandAllTypes = BooleanSetting ( "-expand-all-types", "Expand all type aliases and abstract types into full template pages. (locally this can be done with the @template annotation)" - ) + ) withDeprecationMessage(removalIn213) val docGroups = BooleanSetting ( "-groups", |