Skip to content

Commit 7838391

Browse files
Apply suggestions from code review
Co-authored-by: Julien Richard-Foy <[email protected]>
1 parent 9dab6e6 commit 7838391

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

content/binary-api.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -165,13 +165,13 @@ final class binaryAPIAccessor extends scala.annotation.StaticAnnotation
165165

166166
* Only valid on `def`, `val`, `lazy val`, `var`, `object`, and `given`.
167167
* TASTy will contain references to non-public definitions that are out of scope but `@binaryAPI`. TASTy already allows those references.
168-
* Annotated definition will be public in the generated bytecode. Definitions should be made public as early as possible in the compiler phases, as this can remove the need to create other accessors. It should be done after we check the accessibility of references.
168+
* The annotated definitions will be public in the generated bytecode. Definitions should be made public as early as possible in the compiler phases, as this can remove the need to create other accessors. It should be done after we check the accessibility of references.
169169

170170

171171
#### `@binaryAPIAccessor` annotation
172172

173173
* Only valid on `def`, `val`, `lazy val`, `var`, `object`, and `given`.
174-
* An public accessor will be generated for the annotated definition. This accessor will be named `<fullClassName>$$inline$<definitionName>`.
174+
* A public accessor will be generated for the annotated definition. This accessor will be named `<fullClassName>$$inline$<definitionName>`.
175175

176176
#### Inline
177177

0 commit comments

Comments
 (0)