Commit 701a005
Kotlin: assign stable context parameter indices
Derive Kotlin 2.4 parameter indices from preceding context and regular
parameters while reserving the Java parameter slot for an extension receiver.
This removes negative context-parameter indices and prevents setter parameter
label collisions found by the consistency checks.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent aa583f8 commit 701a005
1 file changed
Lines changed: 11 additions & 5 deletions
File tree
- java/kotlin-extractor/src/main/kotlin/utils/versions/v_2_4_0
Lines changed: 11 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
13 | 19 | | |
0 commit comments