Skip to content

Commit 83c22ff

Browse files
Fix MacroAnnotation doc typo (#19626)
[skip test] [skip community_build]
2 parents 5c628d9 + 70ee5fb commit 83c22ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: library/src/scala/annotation/MacroAnnotation.scala

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ trait MacroAnnotation extends StaticAnnotation:
2525
* #### Restrictions
2626
* - All definitions in the result must have the same owner. The owner can be recovered from `Symbol.spliceOwner`.
2727
* - Special case: an annotated top-level `def`, `val`, `var`, `lazy val` can return a `class`/`object`
28-
definition that is owned by the package or package object.
28+
* definition that is owned by the package or package object.
2929
* - Can not return a `type`.
3030
* - Annotated top-level `class`/`object` can not return top-level `def`, `val`, `var`, `lazy val`.
3131
* - Can not see new definition in user written code.

0 commit comments

Comments
 (0)