Skip to content

Make type promotion work on final fields #104

Closed
@alanrussian

Description

@alanrussian

Type promotion only seems to work on local variables. It would be nice if it also worked on final fields. I understand that it's not supported for non-final fields, because it's harder to assure that the instance isn't changed; however, the instance can't be changed with final fields.

Let me know if this is the wrong place to report these types of feature requests.

Metadata

Metadata

Assignees

No one assigned

    Labels

    field-promotionIssues related to addressing the lack of field promotion

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions