Outdated type aliases doc after banning of partially abstract type constants
lucasturci opened this issue · comments
Lucas Fernandes Turci commented
Please complete the information below:
Where is the problem?
The last code block, where an example of the "as" constraint is given.
What is the problem?
It gives an invalid example. If I write it, my hack linter says: "as constraints are only legal on abstract type constants".
Please don't change anything below this point.
- Build ID: HHVM=HHVM-4.164.0:HSL=v4.108.1:2022-12-06T03:03:24+0000:1fa47f258c6b68f8ec01899aa82fd6ffa0957109
- Page requested: /hack/types/type-aliases
- Page requested at: Wed, 07 Dec 2022 15:14:23 +0000
- Controller: GuidePageController
Wilfred Hughes commented
D42821059