Moving from class wrapper to class-less wrapper
Summary:
moving from using the EnumMember class wrapper by default to use the type
alias MemberOf wrapper instead.
Main changes:
- changing `EnumMember` to `MemberOf` (final syntax to be determined)
- in test files: removal of `->data()`
- parser update `Name<Type>(Expr)` into `Type Name = Expr`
- naming: we allow any expression as initial value for a enum class constant as long as it is correctly typed
- typing: see inlined comments: fiddling a bit with the wrapper when typechecking the body of an enum class
- declared MemberOf in HHVM php files.
Reviewed By: shayne-fletcher
Differential Revision:
D25758179
fbshipit-source-id:
a7ea5fff81246edf3ca8a1c4d02282318ccc9757