aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/tools/dotc/core/SymbolLoaders.scala
diff options
context:
space:
mode:
authorDmitry Petrashko <dmitry.petrashko@gmail.com>2014-03-03 17:40:13 +0100
committerDmitry Petrashko <dmitry.petrashko@gmail.com>2014-03-03 17:40:13 +0100
commit2b4e7659237fe0e6eb5425ebe50ceab79af49816 (patch)
tree131f10e44f0904988ded6c1cb894246a31ed37df /src/dotty/tools/dotc/core/SymbolLoaders.scala
parent18cf5d280e3f63213fd6bddbe8e1ed5b5d40b595 (diff)
downloaddotty-2b4e7659237fe0e6eb5425ebe50ceab79af49816.tar.gz
dotty-2b4e7659237fe0e6eb5425ebe50ceab79af49816.tar.bz2
dotty-2b4e7659237fe0e6eb5425ebe50ceab79af49816.zip
Typos corrected.
More verbose assertions. Unnecessary semicolons removed.
Diffstat (limited to 'src/dotty/tools/dotc/core/SymbolLoaders.scala')
-rw-r--r--src/dotty/tools/dotc/core/SymbolLoaders.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dotty/tools/dotc/core/SymbolLoaders.scala b/src/dotty/tools/dotc/core/SymbolLoaders.scala
index 530d084c7..bebad60cc 100644
--- a/src/dotty/tools/dotc/core/SymbolLoaders.scala
+++ b/src/dotty/tools/dotc/core/SymbolLoaders.scala
@@ -120,7 +120,7 @@ class SymbolLoaders {
*/
def binaryOnly(owner: Symbol, name: String)(implicit ctx: Context): Boolean =
name == "package" &&
- (owner.fullName == "scala" || owner.fullName == "scala.reflect")
+ (owner.fullName.toString == "scala" || owner.fullName.toString == "scala.reflect")
/** Initialize toplevel class and module symbols in `owner` from class path representation `classRep`
*/