Skip to content

New check: Warning on val class properties assigned to null #334

Open
@ZacSweers

Description

@ZacSweers

This code serves no real purpose most of the time, as they can never be changed and might as well just pass null directly

val foo: String? = null

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions