aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/tools/dotc/typer/FrontEnd.scala
diff options
context:
space:
mode:
authorodersky <odersky@gmail.com>2016-08-24 00:49:23 +0300
committerGitHub <noreply@github.com>2016-08-24 00:49:23 +0300
commit265ade02e522c89844076b5339267eac08e44c37 (patch)
tree4e1c0f808eb2dbff1a80a7920021874916c9c324 /src/dotty/tools/dotc/typer/FrontEnd.scala
parent76c3e99e33cf25a6ebccc0785212f629a3cda54e (diff)
parent0b69be68d3100103ebfd636bbc36f9cdcbd6fb28 (diff)
downloaddotty-265ade02e522c89844076b5339267eac08e44c37.tar.gz
dotty-265ade02e522c89844076b5339267eac08e44c37.tar.bz2
dotty-265ade02e522c89844076b5339267eac08e44c37.zip
Merge pull request #1453 from felixmulder/topic/dottydoc
Add dottydoc
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] = {