Skip to content

Remove @syntax markdown from scala.quoted #14769

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

Merged
merged 1 commit into from
Mar 24, 2022
Merged
Show file tree
Hide file tree
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
1 change: 0 additions & 1 deletion library/src/scala/quoted/Expr.scala
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ object Expr {
* ```
*
* To directly get the value of an expression `expr: Expr[T]` consider using `expr.value`/`expr.valueOrError` instead.
* @syntax markdown
*/
def unapply[T](x: Expr[T])(using FromExpr[T])(using Quotes): Option[T] =
scala.Predef.summon[FromExpr[T]].unapply(x)
Expand Down
1 change: 0 additions & 1 deletion library/src/scala/quoted/Quotes.scala
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,6 @@ trait Quotes { self: runtime.QuoteUnpickler & runtime.QuoteMatching =>
*
* ```
*
* @syntax markdown
*/
trait reflectModule { self: reflect.type =>

Expand Down
2 changes: 0 additions & 2 deletions library/src/scala/quoted/Type.scala
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ object Type:
* }
* //}
* ```
* @syntax markdown
*/
def valueOfConstant[T](using Type[T])(using Quotes): Option[T] =
ValueOf.unapply(quotes.reflect.TypeRepr.of[T]).asInstanceOf[Option[T]]
Expand All @@ -66,7 +65,6 @@ object Type:
* }
* //}
* ```
* @syntax markdown
*/
@since("3.1")
def valueOfTuple[T <: Tuple](using Type[T])(using Quotes): Option[T] =
Expand Down
2 changes: 0 additions & 2 deletions library/src/scala/quoted/Varargs.scala
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ object Varargs {
* }
* //}
* ```
* @syntax markdown
*/
def apply[T](xs: Seq[Expr[T]])(using Type[T])(using Quotes): Expr[Seq[T]] = {
import quotes.reflect._
Expand All @@ -49,7 +48,6 @@ object Varargs {
* }
* //}
* ```
* @syntax markdown
*/
def unapply[T](expr: Expr[Seq[T]])(using Quotes): Option[Seq[Expr[T]]] = {
import quotes.reflect._
Expand Down