Skip to content

Commit df28080

Browse files
Remove ShowClassTests
This tests was already mostly disabled. The part that was left is also outdated: it checked that the dotty package creates less than 5 stubs, when in current states it creates 0 stubs.
1 parent 2f0d092 commit df28080

File tree

3 files changed

+0
-174
lines changed

3 files changed

+0
-174
lines changed

compiler/src/dotty/tools/dotc/core/Symbols.scala

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,6 @@ trait Symbols { this: Context =>
235235
case name: TypeName =>
236236
newClassSymbol(normalizedOwner, name, EmptyFlags, stubCompleter, assocFile = file)
237237
}
238-
stubs = stub :: stubs
239238
stub
240239
}
241240

@@ -695,8 +694,6 @@ object Symbols {
695694
/** The current class */
696695
def currentClass(implicit ctx: Context): ClassSymbol = ctx.owner.enclosingClass.asClass
697696

698-
@sharable var stubs: List[Symbol] = Nil // diagnostic only
699-
700697
/* Mutable map from symbols any T */
701698
class MutableSymbolMap[T](private[Symbols] val value: java.util.IdentityHashMap[Symbol, T]) extends AnyVal {
702699

compiler/test/dotty/tools/ShowClassTests.scala

Lines changed: 0 additions & 154 deletions
This file was deleted.

compiler/test/dotty/tools/showClass.scala

Lines changed: 0 additions & 17 deletions
This file was deleted.

0 commit comments

Comments
 (0)