Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Outdated type aliases doc after banning of partially abstract type constants #1324

Open
lucasturci opened this issue Dec 7, 2022 · 1 comment

Comments

@lucasturci
Copy link

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
Copy link
Contributor

Wilfred commented Jan 28, 2023

D42821059

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants