Skip to content

Record accessor call sites are incorrectly capitalized #164

Description

@paulirwin

Method calls are unconditionally capitalized in MethodCallExpressionVisitor.cs:19, so a Java record accessor call p.x() converts to p.X(). For a converted record that matches neither the property's name (components are kept verbatim, e.g. x) nor its kind, since it's a property rather than a method. Distinguishing an accessor call from an ordinary method call needs type resolution. Follow-up to #65.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions