This repository was archived by the owner on Sep 1, 2023. It is now read-only.
Releases: hhvm/type-assert
Releases · hhvm/type-assert
v1.0: better forward compatibility
This is largely equivalent to v0.2; the only major difference is that exceptions will now be thrown for TypeStructures with an unsupported kind. No hack errors will be reported.
A concrete example of this is dict
, vec
, and keyset
are not yet supported outside of Facebook, but their presence in the enum in hhvm-nightly
was raising a Hack error.
Support for TypeStructures
v0.2 document HHVM requirement
Support for basic types
Includes a variety of ::isFoo()
methods; no TypeStructure support yet.