Skip to content

Commit 8f80cfa

Browse files
committed
Remove unused classes
1 parent d44c1bc commit 8f80cfa

17 files changed

+3
-128
lines changed

compiler/src/dotty/tools/dotc/tastyreflect/CaseDefOpsImpl.scala

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

compiler/src/dotty/tools/dotc/tastyreflect/ConstantOpsImpl.scala

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

compiler/src/dotty/tools/dotc/tastyreflect/FlagsOpsImpl.scala

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

compiler/src/dotty/tools/dotc/tastyreflect/Helpers.scala

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

compiler/src/dotty/tools/dotc/tastyreflect/IdOpsImpl.scala

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

compiler/src/dotty/tools/dotc/tastyreflect/ImportSelectorOpsImpl.scala

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

compiler/src/dotty/tools/dotc/tastyreflect/PatternOpsImpl.scala

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

compiler/src/dotty/tools/dotc/tastyreflect/PositionOpsImpl.scala

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

compiler/src/dotty/tools/dotc/tastyreflect/QuotedOpsImpl.scala

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

compiler/src/dotty/tools/dotc/tastyreflect/ReflectionImpl.scala

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6,20 +6,8 @@ import dotty.tools.dotc.util.{SourcePosition, Spans}
66
class ReflectionImpl private (ctx: Contexts.Context, pos: SourcePosition)
77
extends scala.tasty.Reflection
88
with CoreImpl
9-
with CaseDefOpsImpl
10-
with ConstantOpsImpl
119
with ContextOpsImpl
12-
with FlagsOpsImpl
13-
with IdOpsImpl
14-
with ImportSelectorOpsImpl
15-
with QuotedOpsImpl
16-
with PatternOpsImpl
17-
with PositionOpsImpl
1810
with PrintersImpl
19-
with RootPositionImpl
20-
with SettingsOpsImpl
21-
with SignatureOpsImpl
22-
with StandardDefinitions
2311
with SymbolOpsImpl
2412
with TreeOpsImpl
2513
with TypeOrBoundsTreesOpsImpl

compiler/src/dotty/tools/dotc/tastyreflect/RootPositionImpl.scala

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

compiler/src/dotty/tools/dotc/tastyreflect/SettingsOpsImpl.scala

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

compiler/src/dotty/tools/dotc/tastyreflect/SignatureOpsImpl.scala

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

compiler/src/dotty/tools/dotc/tastyreflect/StandardDefinitions.scala

Lines changed: 0 additions & 9 deletions
This file was deleted.
Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
package dotty.tools.dotc.tastyreflect
22

3-
trait TreeOpsImpl extends scala.tasty.reflect.TreeOps with RootPositionImpl with Helpers {
4-
3+
trait TreeOpsImpl extends scala.tasty.reflect.TreeOps with CoreImpl {
54
def termAsTermOrTypeTree(term: Term): TermOrTypeTree = term
6-
75
}
Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
package dotty.tools.dotc.tastyreflect
22

3-
trait TypeOrBoundsTreesOpsImpl extends scala.tasty.reflect.TypeOrBoundsTreeOps with RootPositionImpl {
4-
5-
object TypeTree extends TypeTreeModule with TypeTreeCoreModule
6-
3+
trait TypeOrBoundsTreesOpsImpl extends scala.tasty.reflect.TypeOrBoundsTreeOps with CoreImpl {
74
def typeTreeAsParent(typeTree: TypeTree): TermOrTypeTree = typeTree
85
}

library/src/scala/tasty/reflect/TypeOrBoundsTreeOps.scala

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,7 @@ trait TypeOrBoundsTreeOps extends Core {
2929
kernel.isTypeTreeNotTerm(termOrTypeTree)
3030
}
3131

32-
val TypeTree: TypeTreeModule
33-
abstract class TypeTreeModule extends TypeTreeCoreModule {
32+
object TypeTree extends TypeTreeCoreModule {
3433

3534
object IsInferred {
3635
/** Matches any Inferred and returns it */

0 commit comments

Comments
 (0)