Skip to content
This repository has been archived by the owner on Dec 1, 2024. It is now read-only.

Banish hh ignore error from codegen #544

Open
wants to merge 13 commits into
base: main
Choose a base branch
from

Conversation

lexidor
Copy link
Contributor

@lexidor lexidor commented May 24, 2023

Fixes:

  • No more HH_IGNORE_ERROR directives in codegen.
  • No more HH_IGNORE_ERROR directives in hand rolled nodes.
  • Various HH_IGNORE_ERROR -> HH\FIXME\UNSAFE_CAST<Ta, Tb>(...) migrations.
    • It is not that I particularly like UNSAFE_CAST, but they are better than a 4110 fixme, right?
  • Remove HH_IGNORE_ERROR from declarations.

lexidor added 8 commits May 24, 2023 23:21
Codegen changes in the next commit.
These aren't affected by the codegen changes.
These are particularly likely to cause non-local bugs (in general).
By removing the `final` modifier, and sealing it empty, we can remove this directive.
This functionality can be implemented with a well-typed Hack API now, yippee!
@lexidor lexidor force-pushed the banish-hh-ignore-error-from-codegen branch from a5901d4 to 680174a Compare December 24, 2023 13:17
@lexidor
Copy link
Contributor Author

lexidor commented Dec 24, 2023

CI doesn't run here anymore, so you'll have to look at the CI of my clone.

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

Successfully merging this pull request may close these issues.

2 participants