Skip to content

Commit

Permalink
Fix MacroAnnotation doc typo (scala#19626)
Browse files Browse the repository at this point in the history
[skip test]
[skip community_build]
  • Loading branch information
nicolasstucki authored Feb 6, 2024
2 parents 5c628d9 + 70ee5fb commit 83c22ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/src/scala/annotation/MacroAnnotation.scala
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 83c22ff

Please sign in to comment.