summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGilles Dubochet <gilles.dubochet@epfl.ch>2005-12-20 12:56:25 +0000
committerGilles Dubochet <gilles.dubochet@epfl.ch>2005-12-20 12:56:25 +0000
commitec2227a0609b192f3365394ce73ea665debf06fa (patch)
treed3537babff9bdb2ff81c759c839cb66f8d3210a5
parentf7f19a8883a957446d16de8ff3d5afc29fc5d9d0 (diff)
downloadscala-ec2227a0609b192f3365394ce73ea665debf06fa.tar.gz
scala-ec2227a0609b192f3365394ce73ea665debf06fa.tar.bz2
scala-ec2227a0609b192f3365394ce73ea665debf06fa.zip
Actually really fixed the bug in NSC this time.
-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
}