Releases: xp-framework/compiler
Releases · xp-framework/compiler
1.1.2: Interop fix with xp-forge/partial
1.1.1: Map initialization fix
- Fixed map initialization with keys consisting of complex expressions
(@thekid)
1.1.0: Traits
1.0.0: Parameter annotations
- Indexed type members by name; implementing feature suggested in #10
(@thekid) - Heads up: Implemented syntax for parameter annotations as stated
in issue #1 - alongside the parameter; no longer in its "targeted" form
$param: inject
as in xp-framework/rfc#218
(@thekid) - Added support for keywords as methods in PHP 5.6 - @thekid
- Implemented xp-framework/rfc#326: Cast and nullable types - @thekid
- Added support for casting value and array types - @thekid
0.9.1: Promoted arguments fix
- Fixed promoted argument types not being recorded - @thekid
0.9.0: Types
- 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>
andarray<string, string>
as well as
function types (e.g.(function(int, string): string)
) as seen in
Hack's type system
(@thekid)
0.8.0: Line numbers
- Ensured line numbers are kept; this is important for tracing
warnings, errors and exceptions.
(@thekid)
0.7.0: Parameter annotations
0.6.0: Lambda capturing
- Ensured types are checked where natively supported - @thekid
- Implemented capturing locals in lambda expressions - @thekid
- Recorded property types in cached meta data - @thekid
- Implemented support for dynamic new via
new $type
- @thekid - Fixed assignment operator - @thekid
- Fixed parameter types - @thekid
- Fixed annotations not having access to class scope - @thekid
- Fixed constant emittance in PHP 7.1+ - @thekid
- Fixed trait declaration - @thekid
- Fixed issue #3: Annotations in package - @thekid
- Fixed issue #4: "xp compile" installation - @thekid