This repository has been archived by the owner on Apr 1, 2024. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Child validation: support
x:composable-element
, not just x:element
(
#217) This makes it possible to use these traits for HTML tags etc Test plan: ``` fredemmott@fredemmott-mm1 xhp-lib % ~/code/hhast/bin/hhast-migrate --add-xhp-children-declaration-method src fredemmott@fredemmott-mm1 xhp-lib % hh_client No errors! fredemmott@fredemmott-mm1 xhp-lib % vendor/bin/hacktest tests ...............................................................................S.SSS.S.S.....................SSSS......SS.... Summary: 125 test(s), 113 passed, 0 failed, 12 skipped, 0 error(s). fredemmott@fredemmott-mm1 xhp-lib % git diff src | gist -t patch https://gist.github.com/6dafcf73169756cc80078d2e765ada2c ``` Tests fail without this change. That is with hhvm/hhast#268
- Loading branch information