When you apply a NotNullAttribute to an array, each element gets the warning in the editor as expected, which is sweet. However, when doing the "NotNull" search no errors are given for null members.
Expected behaviour (WIP):
- Arrays should error for every member that is not wired up.
- Arrays that have no size should not assert. This is admittedly strange because why is an array of 0 given a require wire attribute? In general, requireWire doesn't make much sense on arrays.
- Another implementation is to have an ArrayNotNull attribute that requires the array is a certain size.