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
Description
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