Skip to content

Commit 5fc60d4

Browse files
committed
Polishings
1 parent 6a71449 commit 5fc60d4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/pos/TastyADT.scala

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ object tasty {
144144
case class ParamRef(binder: LambdaType[_, _, _], idx: Int) extends Type
145145
case class RecursiveThis(binder: RecursiveType) extends Type
146146

147-
abstract case class RecursiveType(private var _underlying: Type) extends Type {
147+
case class RecursiveType private (private var _underlying: Type) extends Type {
148148
def underlying = _underlying
149149
}
150150
object RecursiveType {
@@ -197,8 +197,8 @@ object tasty {
197197
def apply(pnames: List[TermName], ptypes: List[Type], restpe: Type): MethodType =
198198
new MethodType(pnames, ptypes, restpe) { override val companion = self }
199199
}
200-
object ImplicitMethodType extends SpecializedMethodTypeCompanion
201-
object ErasedMethodType extends SpecializedMethodTypeCompanion
200+
object ImplicitMethodType extends SpecializedMethodTypeCompanion
201+
object ErasedMethodType extends SpecializedMethodTypeCompanion
202202
object ErasedImplicitMethodType extends SpecializedMethodTypeCompanion
203203

204204
case class TypeBounds(loBound: Type, hiBound: Type)

0 commit comments

Comments
 (0)