You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the canonical constructor of a record performs an operation on one of the implicit parameters and assigns the value to the record component, CFR might erroneously use a CFR-generated parameter name instead of the component name.
CFR version
c69ed17
Compiler
javac 17
Description
When the canonical constructor of a record performs an operation on one of the implicit parameters and assigns the value to the record component, CFR might erroneously use a CFR-generated parameter name instead of the component name.
Example
Source code:
Decompiled output:
❌ The output uses the implicit parameter with a CFR-generated name (
string
) which would cause a compilation failure.The text was updated successfully, but these errors were encountered: