Add SetWithRef{Int,Str} to array vtable
Summary:
Implement them directly instead of via Lval{Int,Str}. This allows us to
add missing index warnings to Lval*() while avoiding spew from a valid
use case.
We were also using Lval*() unconditionally when sometimes we were
supposed to be using Lval*Ref(). Based on a quick audit of the
callsites, this doesn't appear to have caused us to miss any Hack
array compat notices, or Hack array exceptions, in practice.
Reviewed By: alexeyt
Differential Revision:
D5587259
fbshipit-source-id:
8365c76c8663ef183a7852cb4389791a792f0f31