Community
Participate
Working Groups
I have the following code function myF() s String; s = null; a String[]; a = null; end right now, validation gives me validation error on a, saying can't assign null to non nullable, which is good, but it should also give me the same validation error on s = null
I have updated AssignmentStatementValidator to fix this. When I originally added the validation, I thought that this rule only applied to reference types. Matt confirms that this is not valid for value types as well.
verified on 2011/11/11/0901's build