diff options
author | Miles Sabin <miles@milessabin.com> | 2009-05-21 16:49:48 +0000 |
---|---|---|
committer | Miles Sabin <miles@milessabin.com> | 2009-05-21 16:49:48 +0000 |
commit | 36a2c0d43b2b5e9ed8e7233649d7c22e5555086c (patch) | |
tree | 4583c7d42e25c45fda400f003b01a4b4cb6e7fe7 | |
parent | eb4eac963d9067bf38aced06021d6ea2d62db48e (diff) | |
download | scala-36a2c0d43b2b5e9ed8e7233649d7c22e5555086c.tar.gz scala-36a2c0d43b2b5e9ed8e7233649d7c22e5555086c.tar.bz2 scala-36a2c0d43b2b5e9ed8e7233649d7c22e5555086c.zip |
Make sure the symbol for the implementation cla...
Make sure the symbol for the implementation class of a trait has an
associated source file.
-rw-r--r-- | src/compiler/scala/tools/nsc/transform/AddInterfaces.scala | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/compiler/scala/tools/nsc/transform/AddInterfaces.scala b/src/compiler/scala/tools/nsc/transform/AddInterfaces.scala index 88c83d86ad..0d94658118 100644 --- a/src/compiler/scala/tools/nsc/transform/AddInterfaces.scala +++ b/src/compiler/scala/tools/nsc/transform/AddInterfaces.scala @@ -80,6 +80,7 @@ abstract class AddInterfaces extends InfoTransform { if (impl == NoSymbol) { impl = iface.cloneSymbolImpl(iface.owner) impl.name = implName + impl.sourceFile = iface.sourceFile if (iface.owner.isClass) iface.owner.info.decls enter impl } |