This repository was archived by the owner on Aug 1, 2023. It is now read-only.
Generic constraints: small BC break
Generics can now have multiple constraints:
class Foo<T super Bar as Baz> {
}
The getConstraintTypeName()
and getConstraintRelationship()
APIs have been replaced with getConstraints()
, returning ImmVector<shape('type' => string, 'relationship' => RelationshipToken)>
.
This release also no longer supports HHVM 3.12; HHVM 3.12 itself is also no longer supported by Facebook.