From 36a2c0d43b2b5e9ed8e7233649d7c22e5555086c Mon Sep 17 00:00:00 2001 From: Miles Sabin Date: Thu, 21 May 2009 16:49:48 +0000 Subject: Make sure the symbol for the implementation cla... Make sure the symbol for the implementation class of a trait has an associated source file. --- src/compiler/scala/tools/nsc/transform/AddInterfaces.scala | 1 + 1 file changed, 1 insertion(+) (limited to 'src') 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 } -- cgit v1.2.3