If we use x := "a" instead of a regular declaration + assignment, the value evaluator does not correctly propagate the constant, since it only uses the initialiser field, which is empty. In this case, the firstAssignment property (or a DFG edge?) should be used instead.
If we use
x := "a"
instead of a regular declaration + assignment, the value evaluator does not correctly propagate the constant, since it only uses theinitialiser
field, which is empty. In this case, thefirstAssignment
property (or a DFG edge?) should be used instead.