hhvm/type-assert

Remove tuple/shape coercion from assert path

fredemmott opened this issue · 2 comments

We allow either arrays or vecs for tuples, and arrays or dicts for shapes. We should require they match the current runtime.

This makes migration slightly harder, but the 'typeassert may return a different value' thing it creates leads to more problems.

Will leave this as-is until tuples and shapes change their implementation.

#48 Related issue