diff options
author | Gilles Dubochet <gilles.dubochet@epfl.ch> | 2005-12-20 12:56:25 +0000 |
---|---|---|
committer | Gilles Dubochet <gilles.dubochet@epfl.ch> | 2005-12-20 12:56:25 +0000 |
commit | ec2227a0609b192f3365394ce73ea665debf06fa (patch) | |
tree | d3537babff9bdb2ff81c759c839cb66f8d3210a5 /src/compiler | |
parent | f7f19a8883a957446d16de8ff3d5afc29fc5d9d0 (diff) | |
download | scala-ec2227a0609b192f3365394ce73ea665debf06fa.tar.gz scala-ec2227a0609b192f3365394ce73ea665debf06fa.tar.bz2 scala-ec2227a0609b192f3365394ce73ea665debf06fa.zip |
Actually really fixed the bug in NSC this time.
Diffstat (limited to 'src/compiler')
-rw-r--r-- | src/compiler/scala/tools/nsc/typechecker/Namers.scala | 2 |
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 } |