Add reflection support for coeffects
commit9e1544f16d0bde710bc96353d14c71e6a65fb61b
authorOguz Ulgen <oulgen@fb.com>
Tue, 9 Feb 2021 22:22:13 +0000 (9 14:22 -0800)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Tue, 9 Feb 2021 22:28:05 +0000 (9 14:28 -0800)
tree6b531fad17d4ba562b0a985e2a8e97bdf59076c0
parentdda8c3e06d821eddf6a12a706d95285d5af97566
Add reflection support for coeffects

Summary: This diff adds reflection support to fetch back coeffects as they are written in source code.

Reviewed By: jano

Differential Revision: D26323126

fbshipit-source-id: 72157d0e29d8717f2ba9361d4957e65ea450467e
hphp/hack/hhi/reflection.hhi
hphp/runtime/ext/reflection/ext_reflection.cpp
hphp/runtime/ext/reflection/ext_reflection_hni.php
hphp/runtime/vm/coeffects.cpp
hphp/runtime/vm/coeffects.h
hphp/test/slow/coeffects/reflection-1.php [new file with mode: 0644]
hphp/test/slow/coeffects/reflection-1.php.expect [new file with mode: 0644]