aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/tools/dotc/typer/FrontEnd.scala
diff options
context:
space:
mode:
authorFelix Mulder <felix.mulder@gmail.com>2016-06-13 17:35:01 +0200
committerFelix Mulder <felix.mulder@gmail.com>2016-08-19 15:37:26 +0200
commit82752b2075f4e68c99a6588eacb11d6fdaa03207 (patch)
tree968dea6aedfad42fe6c6d6be050cbdd74bea93e1 /src/dotty/tools/dotc/typer/FrontEnd.scala
parent76bbb8de91990e5bf2344fbf2f06918c860c4c0e (diff)
downloaddotty-82752b2075f4e68c99a6588eacb11d6fdaa03207.tar.gz
dotty-82752b2075f4e68c99a6588eacb11d6fdaa03207.tar.bz2
dotty-82752b2075f4e68c99a6588eacb11d6fdaa03207.zip
Fix value classes not being documented
Diffstat (limited to 'src/dotty/tools/dotc/typer/FrontEnd.scala')
-rw-r--r--src/dotty/tools/dotc/typer/FrontEnd.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dotty/tools/dotc/typer/FrontEnd.scala b/src/dotty/tools/dotc/typer/FrontEnd.scala
index c5c6aec3c..e193b126a 100644
--- a/src/dotty/tools/dotc/typer/FrontEnd.scala
+++ b/src/dotty/tools/dotc/typer/FrontEnd.scala
@@ -57,7 +57,7 @@ class FrontEnd extends Phase {
case _ => NoSymbol
}
- private def discardAfterTyper(unit: CompilationUnit)(implicit ctx: Context) =
+ protected def discardAfterTyper(unit: CompilationUnit)(implicit ctx: Context) =
unit.isJava || firstTopLevelDef(unit.tpdTree :: Nil).isPrimitiveValueClass
override def runOn(units: List[CompilationUnit])(implicit ctx: Context): List[CompilationUnit] = {