From 792434251fe1e9df3b6df7c13249764546b1b37f Mon Sep 17 00:00:00 2001 From: Nicolas Stucki Date: Tue, 6 Feb 2024 09:24:32 +0100 Subject: [PATCH] Fix MacroAnnotation doc typo [Cherry-picked 70ee5fb744ceb61ba2d6d20b2fbe2fb6000bfd99] --- library/src/scala/annotation/MacroAnnotation.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/src/scala/annotation/MacroAnnotation.scala b/library/src/scala/annotation/MacroAnnotation.scala index 999bc3095a69..a76289ecea61 100644 --- a/library/src/scala/annotation/MacroAnnotation.scala +++ b/library/src/scala/annotation/MacroAnnotation.scala @@ -25,7 +25,7 @@ trait MacroAnnotation extends StaticAnnotation: * #### Restrictions * - All definitions in the result must have the same owner. The owner can be recovered from `Symbol.spliceOwner`. * - Special case: an annotated top-level `def`, `val`, `var`, `lazy val` can return a `class`/`object` -definition that is owned by the package or package object. + * definition that is owned by the package or package object. * - Can not return a `type`. * - Annotated top-level `class`/`object` can not return top-level `def`, `val`, `var`, `lazy val`. * - Can not see new definition in user written code.