Request for exit analysis #11485
Labels
analyzer-warning
Issues with the analyzer's Warning codes
area-analyzer
P2
A bug or feature request we're likely to work on
type-enhancement
A request for a change that isn't a bug
Can we have the following method be flagged. It's signature says to return a string but it is not returning anything.
String format(value, [String parameters = null]) {
// Handle null case.
if (value == null) {
return '';
}
// Handle case where an object other than an array is passed.
if (!(value is Iterable)) {
return value.toString();
}
// Handle empty list.
if (value.isEmpty) {
return '';
}
_formatValue(value, parameters);
}
////////////////////////////////////////////////////////////////////////////////////
Editor: 0.5.20_r24160 (2013-06-18)
OS: Linux - amd64 (3.2.5-gg1236)
JVM: 1.7.0-google-v5
projects: 2
open dart files: 19
auto-run pub: false
localhost resolves to: 127.0.0.1
mem max/total/free: 1778 / 786 / 505 MB
thread count: 33
index: 483112 relationships in 114610 keys in 831 sources
SDK installed: true
Dartium installed: true
analysis engine: new
The text was updated successfully, but these errors were encountered: