Skip to content
This repository was archived by the owner on Feb 22, 2018. It is now read-only.
This repository was archived by the owner on Feb 22, 2018. It is now read-only.

Create quickfix that handles missing typed parameters on Array literals #15

Closed
@jacob314

Description

@jacob314

We're seeing 1000s if issues due to missing types on Array literals. If an error occurred we know what they should have written. Go ahead and write it as a quick fix.

Example:

Iterable<Type> get _types {
    if (_bindings == null) return  /* severe: StaticTypeError */ [];
    ...
}

should be rewritten as

Iterable<Type> get _types {
    if (_bindings == null) return  <Type>[];
    ...
}

by the quickfix tool

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions