Skip to content

The "Specify type annotations" lint doesn't complain about untyped literals #57296

Closed
@Hixie

Description

@Hixie

e.g. [] and {} should have types but it doesn't complain. It should require types on those too (and report what types have been inferred from the contents or from where the literals are being passed).

Metadata

Metadata

Assignees

No one assigned

    Labels

    devexp-linterIssues with the analyzer's support for the linter packagelegacy-area-analyzerUse area-devexp instead.type-bugIncorrect behavior (everything from a crash to more subtle misbehavior)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions