Skip to content

Commit 1687698

Browse files
Merge pull request #11754 from dotty-staging/cleanup-sourcecode
Cleanup sourcecode of Quotes
2 parents 1a40162 + c98f069 commit 1687698

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

library/src/scala/quoted/Quotes.scala

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,6 @@ trait Quotes { self: runtime.QuoteUnpickler & runtime.QuoteMatching =>
445445

446446
/** Methods of the module object `val ClassDef` */
447447
trait ClassDefModule { this: ClassDef.type =>
448-
// TODO def apply(name: String, constr: DefDef, parents: List[TermOrTypeTree], selfOpt: Option[ValDef], body: List[Statement]): ClassDef
449448
def copy(original: Tree)(name: String, constr: DefDef, parents: List[Tree /* Term | TypeTree */], derived: List[TypeTree], selfOpt: Option[ValDef], body: List[Statement]): ClassDef
450449
def unapply(cdef: ClassDef): (String, DefDef, List[Tree /* Term | TypeTree */], List[TypeTree], Option[ValDef], List[Statement])
451450
}
@@ -1650,7 +1649,6 @@ trait Quotes { self: runtime.QuoteUnpickler & runtime.QuoteMatching =>
16501649

16511650
/** Methods of the module object `val TypeProjection` */
16521651
trait TypeProjectionModule { this: TypeProjection.type =>
1653-
// TODO def apply(qualifier: TypeTree, name: String): Project
16541652
def copy(original: Tree)(qualifier: TypeTree, name: String): TypeProjection
16551653
def unapply(x: TypeProjection): (TypeTree, String)
16561654
}
@@ -1703,7 +1701,6 @@ trait Quotes { self: runtime.QuoteUnpickler & runtime.QuoteMatching =>
17031701

17041702
/** Methods of the module object `val Refined` */
17051703
trait RefinedModule { this: Refined.type =>
1706-
// TODO def apply(tpt: TypeTree, refinements: List[Definition]): Refined
17071704
def copy(original: Tree)(tpt: TypeTree, refinements: List[Definition]): Refined
17081705
def unapply(x: Refined): (TypeTree, List[Definition])
17091706
}
@@ -1865,7 +1862,6 @@ trait Quotes { self: runtime.QuoteUnpickler & runtime.QuoteMatching =>
18651862

18661863
/** Methods of the module object `val TypeBind` */
18671864
trait TypeBindModule { this: TypeBind.type =>
1868-
// TODO def apply(name: String, tree: Tree): TypeBind
18691865
def copy(original: Tree)(name: String, tpt: Tree /*TypeTree | TypeBoundsTree*/): TypeBind
18701866
def unapply(x: TypeBind): (String, Tree /*TypeTree | TypeBoundsTree*/)
18711867
}
@@ -2064,7 +2060,6 @@ trait Quotes { self: runtime.QuoteUnpickler & runtime.QuoteMatching =>
20642060

20652061
/** Methods of the module object `val Unapply` */
20662062
trait UnapplyModule { this: Unapply.type =>
2067-
// TODO def apply(fun: Term, implicits: List[Term], patterns: List[Tree]): Unapply
20682063
def copy(original: Tree)(fun: Term, implicits: List[Term], patterns: List[Tree]): Unapply
20692064
def unapply(x: Unapply): (Term, List[Term], List[Tree])
20702065
}

0 commit comments

Comments
 (0)