Commit a3f5f89
committed
fix(scala): rename local var to avoid named arg shadowing in Scala 3.8.2
Scala 3.8.2 resolves 'additionalProperties = ...' inside copy() to
the local variable instead of the named parameter, causing type mismatch
errors. Rename the local variable from 'additionalProperties' to
'extraProperties' and use dot notation for copy() calls.1 parent 0ca3356 commit a3f5f89
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
34 | | - | |
| 33 | + | |
| 34 | + | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| |||
0 commit comments