Improve to patch for bugzilla 377241.

ArrayType fields should only be computed for StringLiterals.