File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -187,7 +187,7 @@ Let's take the following example:
187187
188188Reordering the fields is binary-compatible but it might affect the meaning of ` @Annotation(1) `
189189Starting from Scala 3.6, named arguments are required for Java-defined annotations that define multiple parameters.
190- If the Java-defined annotation contains paramter named ` value ` its name can be ommited only when annotation is applied using a single argument.
190+ If the Java-defined annotation contains parameter named ` value ` its name can be omitted only when annotation is applied using a single argument.
191191
192192``` Java
193193 public @interface Example {
@@ -200,7 +200,7 @@ If the Java-defined annotation contains paramter named `value` its name can be o
200200```
201201
202202``` Scala
203- // Annotation with `value: String = "", param: String = ""` paramters
203+ // Annotation with `value: String = "", param: String = ""` parameters
204204@ Example ()
205205def onlyDefaults : Unit = ()
206206
You can’t perform that action at this time.
0 commit comments