Skip to content

0.9.0: Types

Pre-release
Pre-release
Compare
Choose a tag to compare
@thekid thekid released this 22 Oct 13:10
· 1297 commits to master since this release
  • Added support for $arg ==> $arg++ lambdas without argument braces
    (@thekid)
  • Fixed issue #8: Member types missing for constructor argument promotion
    (@thekid)
  • Fixed issue #7: Ternary operator broken - @thekid
  • Fixed issue #6: instanceof does not resolve class names - @thekid
  • Implemented support for union types, e.g. int|float, as supported
    by this PHP RFC
    (@thekid)
  • Implemented array<int> and array<string, string> as well as
    function types (e.g. (function(int, string): string)) as seen in
    Hack's type system
    (@thekid)