From 387ade485e095a5acf650f80438cafa5a4472e9a Mon Sep 17 00:00:00 2001 From: Martin Odersky Date: Sat, 10 Mar 2018 11:09:35 +0100 Subject: [PATCH] Drop stray statement This should have been dropped before, as it was a duplicate from a statement that is now under its proper condition. --- compiler/src/dotty/tools/dotc/core/SymDenotations.scala | 1 - 1 file changed, 1 deletion(-) diff --git a/compiler/src/dotty/tools/dotc/core/SymDenotations.scala b/compiler/src/dotty/tools/dotc/core/SymDenotations.scala index 4946e535cc64..81988877cf3a 100644 --- a/compiler/src/dotty/tools/dotc/core/SymDenotations.scala +++ b/compiler/src/dotty/tools/dotc/core/SymDenotations.scala @@ -1467,7 +1467,6 @@ object SymDenotations { for (p <- classParents) { if (p.typeSymbol.isClass) builder.addAll(p.typeSymbol.asClass.baseClasses) else assert(ctx.mode.is(Mode.Interactive), s"$this has non-class parent: $p") - builder.addAll(p.typeSymbol.asClass.baseClasses) } (classSymbol :: builder.baseClasses, builder.baseClassSet) }