Closed rsmckinney closed 2 years ago
Conventional getter/setter methods are not properly inferred on record classes.
public record FooRecord(String rawName) { public Name getParsedName() { return parseName(rawName); } . . . }
FooRecord record = new FooRecord("foo.bar"); Name name = record.parsedName; // error
Fixed in release 2022.1.25.
Conventional getter/setter methods are not properly inferred on record classes.