Skip to content

Commit 9dd92a9

Browse files
authored
Merge pull request #4980 from dotty-staging/delete-error-symbol
Delete unused ErrorSymbol class
2 parents da2a245 + d92d1d5 commit 9dd92a9

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

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

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -729,11 +729,6 @@ object Symbols {
729729
override protected def prefixString = "ClassSymbol"
730730
}
731731

732-
class ErrorSymbol(val underlying: Symbol, msg: => String)(implicit ctx: Context) extends Symbol(NoCoord, ctx.nextId) {
733-
type ThisName = underlying.ThisName
734-
denot = underlying.denot
735-
}
736-
737732
@sharable object NoSymbol extends Symbol(NoCoord, 0) {
738733
override def associatedFile(implicit ctx: Context): AbstractFile = NoSource.file
739734
override def recomputeDenot(lastd: SymDenotation)(implicit ctx: Context): SymDenotation = NoDenotation

0 commit comments

Comments
 (0)