Skip to content

Commit

Permalink
Fix MacroAnnotation doc typo
Browse files Browse the repository at this point in the history
[Cherry-picked 70ee5fb]
  • Loading branch information
nicolasstucki authored and WojciechMazur committed Jun 30, 2024
1 parent 0ab789c commit a837a7b
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 a837a7b

Please sign in to comment.