diff options
author | Heather Miller <heather.miller@epfl.ch> | 2014-10-24 14:18:38 -0700 |
---|---|---|
committer | Heather Miller <heather.miller@epfl.ch> | 2014-11-05 10:56:53 -0800 |
commit | be3eb58d0c49139538e69b377834991510447b36 (patch) | |
tree | 2741238fbfeded4fe1cdc600f86fdd536f63768b /src/compiler/scala/tools/nsc/Global.scala | |
parent | d045ddeba0bec4deef8cd5825d4b8c022c726ca8 (diff) | |
download | scala-be3eb58d0c49139538e69b377834991510447b36.tar.gz scala-be3eb58d0c49139538e69b377834991510447b36.tar.bz2 scala-be3eb58d0c49139538e69b377834991510447b36.zip |
Addresses review comments
Diffstat (limited to 'src/compiler/scala/tools/nsc/Global.scala')
-rw-r--r-- | src/compiler/scala/tools/nsc/Global.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/Global.scala b/src/compiler/scala/tools/nsc/Global.scala index 658aa66fd9..1635b2c404 100644 --- a/src/compiler/scala/tools/nsc/Global.scala +++ b/src/compiler/scala/tools/nsc/Global.scala @@ -845,7 +845,7 @@ class Global(var currentSettings: Settings, var reporter: Reporter) /** Is given package class a system package class that cannot be invalidated? */ - private def isSystemPackageClass(pkg: Symbol) = + private def isSystemPackageClass(pkg: Symbol) = pkg == RootClass || (pkg.hasTransOwner(definitions.ScalaPackageClass) && !pkg.hasTransOwner(this.rootMirror.staticPackage("scala.tools").moduleClass.asClass)) /** Invalidates packages that contain classes defined in a classpath entry, and |