From 74168e4184dcd18d51afdbeb28678c8aacea9364 Mon Sep 17 00:00:00 2001 From: Sean McDirmid Date: Mon, 24 Dec 2007 14:29:00 +0000 Subject: surgically fixing a broken build. --- src/compiler/scala/tools/nsc/symtab/classfile/ClassfileParser.scala | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/compiler/scala/tools/nsc/symtab/classfile/ClassfileParser.scala') diff --git a/src/compiler/scala/tools/nsc/symtab/classfile/ClassfileParser.scala b/src/compiler/scala/tools/nsc/symtab/classfile/ClassfileParser.scala index 7b0aa57bde..218f4e4983 100644 --- a/src/compiler/scala/tools/nsc/symtab/classfile/ClassfileParser.scala +++ b/src/compiler/scala/tools/nsc/symtab/classfile/ClassfileParser.scala @@ -339,9 +339,9 @@ abstract class ClassfileParser { var ifaces = for (i <- List.range(0, ifaceCount)) yield pool.getSuperClass(in.nextChar).tpe if (isAnnotation) ifaces = definitions.ClassfileAnnotationClass.tpe :: ifaces val parents = superType :: ifaces - - instanceDefs = newClassScope - staticDefs = newClassScope + // get the class file parser to reuse scopes. + instanceDefs = newClassScope(clazz) + staticDefs = newClassScope(statics) val classInfo = ClassInfoType(parents, instanceDefs, clazz) val staticInfo = ClassInfoType(List(), staticDefs, statics) -- cgit v1.2.3