summaryrefslogtreecommitdiff
path: root/src/compiler
diff options
context:
space:
mode:
Diffstat (limited to 'src/compiler')
-rw-r--r--src/compiler/scala/tools/nsc/typechecker/Namers.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/typechecker/Namers.scala b/src/compiler/scala/tools/nsc/typechecker/Namers.scala
index 5e39319af1..6f9df75223 100644
--- a/src/compiler/scala/tools/nsc/typechecker/Namers.scala
+++ b/src/compiler/scala/tools/nsc/typechecker/Namers.scala
@@ -113,7 +113,7 @@ trait Namers: Analyzer {
}
if (c.owner.isPackageClass) {
currentRun.symSource(c) = context.unit.source.getFile();
- c.asIntanceOf[ClassSymbol].sourceFile = context.unit.source.getFile();
+ c.asInstanceOf[ClassSymbol].sourceFile = context.unit.source.getFile();
}
c
}