Skip to content

Commit 024a14f

Browse files
committed
Update docs
1 parent c61f081 commit 024a14f

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

tests/pos/tasty/definitions.scala

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -39,19 +39,12 @@ object definitions {
3939
case class TypeDef(name: String, rhs: TypeTree | TypeBoundsTree) extends Definition {
4040
def mods: List[Modifier] = ???
4141
}
42-
case class ClassDef(name: String, constructor: DefDef, parents: List[Parent],
42+
case class ClassDef(name: String, constructor: DefDef, parents: List[Term | TypeTree],
4343
self: Option[ValDef], body: List[Statement]) extends Definition {
4444
def mods: List[Modifier] = ???
4545
}
4646
case class PackageDef(name: String, members: List[Statement]) extends Definition
4747

48-
// ------ Parents--------------------------------
49-
50-
enum Parent {
51-
case TermParent(parent: Term)
52-
case TypeParent(parent: TypeTree)
53-
}
54-
5548
// ------ Terms ---------------------------------
5649

5750
/** Trees denoting terms */

0 commit comments

Comments
 (0)