You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
make redundant sealed annotation a warning instead of a lint error
Summary:
We used to raise a lint if a classish was sealed against another classish that was not a subtype. The `tco_enforce_sealed_subclasses` option from GlobalOptions turned the lint into a strict error but defaulted to false.
This diff removes the global option and the strict error, and turns the lint into a warning. Additionally, fixes the incorrect wording used in a few cases (eg a class does not _extend_ an interface, it _ implements_ it).
Reviewed By: mheiber
Differential Revision: D89376668
fbshipit-source-id: 548553fae16a50b4c741111d9b029069f6c036b2
0 commit comments