Skip to content

consider adding strict_top_level_inference #836

Closed
@devoncarew

Description

@devoncarew

We should consider adding a strict_top_level_inference lint, as described here: dart-lang/sdk#59562. Note that this lint does not yet exist.

This lint would warn about every omitted return type, parameter type, and variable type of a top-level declaration or class-like-namespace-level declaration (static or instance member- or constructor declaration), which is not given a type by inference, and which therefore defaults to dynamic.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Under consideration

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions