Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cleanup sourcecode of Quotes #11754

Merged
merged 1 commit into from
Mar 15, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions library/src/scala/quoted/Quotes.scala
Original file line number Diff line number Diff line change
Expand Up @@ -445,7 +445,6 @@ trait Quotes { self: runtime.QuoteUnpickler & runtime.QuoteMatching =>

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

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

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

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

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