Allow iterable objects in vec/dict/keyset casts
commit1bde9ee9e4038b53e4bb849c14275d0094a8a731
authorPaul Bissonnette <paulbiss@fb.com>
Wed, 26 Oct 2016 18:27:00 +0000 (26 11:27 -0700)
committerHhvm Bot <hhvm-bot-bot@fb.com>
Wed, 26 Oct 2016 18:30:39 +0000 (26 11:30 -0700)
treece824236c7d5314bb7b15fb0493038f08660cd15
parent11f7203530222dae908eb36e672f54a4e52c87c9
Allow iterable objects in vec/dict/keyset casts

Summary:
As these casts previously raised warnings they were already able to
reenter.

Reviewed By: ricklavoie

Differential Revision: D4068486

fbshipit-source-id: ed94b843fbd85f2617019f42f02616d17c7942e9
12 files changed:
hphp/runtime/base/tv-helpers.cpp
hphp/runtime/ext/array/ext_array.cpp
hphp/runtime/vm/jit/translator-runtime.cpp
hphp/test/quick/dict/convert.php.expectf
hphp/test/quick/keyset/convert.php.expectf
hphp/test/quick/vec/convert.php.expectf
hphp/test/slow/dict/to-dict.php [new file with mode: 0644]
hphp/test/slow/dict/to-dict.php.expect [new file with mode: 0644]
hphp/test/slow/keyset/to-keyset.php [new file with mode: 0644]
hphp/test/slow/keyset/to-keyset.php.expect [new file with mode: 0644]
hphp/test/slow/vec/to-vec.php [new file with mode: 0644]
hphp/test/slow/vec/to-vec.php.expect [new file with mode: 0644]