This repository was archived by the owner on Dec 1, 2024. It is now read-only.
Tags: hhvm/hhast
Tags
Random bug fixes (#542) * Document bug comparison empty statements The operators `<=` and `>=` should be treated as empty. They are currently treated as assignments. * Fix false negative, `<=` and `>=` in NoEmptyStatementsLinter * Document bug NodeList::getChildrenOfItemsOfType() does not refine * Fix type refinement of NodeList::getChildrenOfItemsOfType<T>() * Add NodeList::getChildrenOfItemsByType<T>() This completes this list: - Node->getChildrenOfType<T>() - Node->getDescendantsOfType<T>() - Node->getFirstDescendantOfType<T>() - NodeList->getChildrenOfItemsByType<T>() * Remove reference in comment to createMaybeEmptyList This function does not exist anymore. * Post commit formatting * Lint clean * Lint clean (with HHClientLinter) * Post commit formatting * One (last) lint error from HHClientLinter * Demonstrate the `() ==> constant` can not be parsed * Regenerate codegen, allowing constants as lambda bodies The Package* classes were deleted by codegen. I have ignored these deletions for backwards compat. * Limit semaphore to cpu count I don't got no 32 hardware threads * Fix lint error in syntax example
use ffp_parse_string instead of shelling out to hh_parse (#537) * use ffp_parse_string instead of shelling out to hh_parse * remove user_args from entrypoints.hack * testing * fix lack of hhi * remove support for xhp children declarations and the migration, since they break native parsing
PreviousNext