Open GoogleCodeExporter opened 9 years ago
At the moment this check is turned off by default.
One needs to provide the -Alint=arrays:forbidnonnullcomponents option to turn
this check on.
The manual doesn't document this flag, which is an issue we should fix.
Alternatively, we should discuss whether the default should be to enable this
check and whether we want an option to turn off the check.
I assume the reason we have this option is to avoid many false positives,
created by the common pattern of first creating an array and then immediately
initializing all fields (see Issue 154).
Original comment by wdi...@gmail.com
on 10 May 2014 at 10:06
Original issue reported on code.google.com by
reprogra...@gmail.com
on 26 Apr 2014 at 2:48