Closed
Description
This issue was originally filed by [email protected]
Add option to the analyzer (also in Editor) that specifies to assume that the keyword in an type inferred specifier.
Sample code and explanation.
void main() {
var i = 0;
i = "";
}
Option turned off (current behavior):
No warrning, because "var" is dynamic type alias.
Option turned on.
Warning: "A value of type 'String' cannot be assigned to a variable of type 'int'".