The GitHub Actions job "Fory CI" on fory.git/fix_kotlint_generic_error has 
succeeded.
Run started by GitHub user chaokunyang (triggered by chaokunyang).

Head commit for run:
49495effd070699b6d6894c7fffdbef4ee7f53f6 / chaokunyang <[email protected]>
fix(kotlin): support Kotlin generic data class with Java reserved word field 
names

Kotlin allows field names that are Java reserved words (like "new"), which are
valid at the bytecode level. When Fory tries to reserve these field names for
code generation, it fails because Java reserved words can't be used as variable
names in generated code.

This fix filters out Java reserved words when reserving field names in
CodecBuilder, since they won't conflict with any generated variable names.

Fixes https://github.com/apache/fory/issues/2768

Report URL: https://github.com/apache/fory/actions/runs/19796064123

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to