-
Notifications
You must be signed in to change notification settings - Fork 42
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
disable_partially_abstract_typeconsts hhconfig option can not be set #333
Comments
It looks like it was added in 2019 and not touched since then, so I wouldn't expect it to change any time soon. I don't think it's necessary to preemptively fix HHAST or other projects, we can always do that if/when someone wants to change the default. |
That said, if you want to enable this option in some of your projects but the HHAST dependency is preventing you, I certainly wouldn't be opposed to fixing it here. |
If I knew what this setting did, I could make an informed decision. I don't understand the error it creates either. If others want to turn this feature on, please comment below. |
It seems like this area is being explored again. |
Summary: This is not a real HIP following the usual template/process, but we'd like to share it so we can answer questions like hhvm/hhast#333 (similarly to [gradual modularity](https://github.com/facebook/hhvm/blob/master/hphp/hack/doc/HIPs/gradual_modularity.md) which is also not a real HIP). Reviewed By: fredemmott Differential Revision: D27923993 fbshipit-source-id: 2239a36d69d91ebe486eb8bdb7d19ca95a6430b8
The current state/plan is now documented here: https://github.com/facebook/hhvm/blob/master/hphp/hack/doc/HIPs/converging_constants.md |
Thanks for publishing the HIP. I have given it a read, but I couldn't take it all in at once. I'll read this again tomorrow. (With a hh_client, hhvm, and pen and paper in hand 😄.) |
This issue has been resolved. The type constant does not have a default value anymore. |
I am responsible for committing this error in the first place.
This error got past CI because we don't have this option enabled in our .hhconfig.
If this options is maybe going to become the default in some future release, I need to fix this.
The text was updated successfully, but these errors were encountered: