Add HH\FIXME\UNSAFE_NONNULL_CAST
commit9470d107b587e03df1f5e90d456d4378d9d52a31
authorVassil Mladenov <vmladenov@fb.com>
Mon, 26 Sep 2022 15:13:26 +0000 (26 08:13 -0700)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Mon, 26 Sep 2022 15:13:26 +0000 (26 08:13 -0700)
tree449de554978645dcad043b2d5abd97cf4ce576da
parent9a02a59f44618f2cb4e841d5f61e2d9caed03ee1
Add HH\FIXME\UNSAFE_NONNULL_CAST

Reviewed By: Wilfred

Differential Revision: D39745258

fbshipit-source-id: 9a2fff5c13d7ca77eeca14c7e4d9a60ee2468a59
24 files changed:
hphp/hack/hhi/soundness.hhi
hphp/hack/src/annotated_ast/aast_defs.ml
hphp/hack/src/hackc/compile/closure_convert.rs
hphp/hack/src/hackc/types/readonly_check.rs
hphp/hack/src/hackrs/special_names/special_names.rs
hphp/hack/src/naming/naming_special_names.ml
hphp/hack/src/naming/naming_special_names.rs
hphp/hack/src/oxidized/aast_visitor/node_impl_gen.rs
hphp/hack/src/oxidized/aast_visitor/node_mut_impl_gen.rs
hphp/hack/src/oxidized/gen/aast_defs.rs
hphp/hack/src/oxidized/impl_gen/aast_defs_impl_gen.rs
hphp/hack/src/oxidized_by_ref/gen/aast_defs.rs
hphp/hack/src/parser/readonly_check.rs
hphp/hack/src/server/identifySymbolService.ml
hphp/hack/src/typing/tast.ml
hphp/hack/src/typing/typing.ml
hphp/hack/test/typecheck/unsafe_cast/unsafe_nonnull_cast.php [new file with mode: 0644]
hphp/hack/test/typecheck/unsafe_cast/unsafe_nonnull_cast.php.exp [new file with mode: 0644]
hphp/hack/test/typecheck/unsafe_cast/unsafe_nonnull_cast_lhs.php [new file with mode: 0644]
hphp/hack/test/typecheck/unsafe_cast/unsafe_nonnull_cast_lhs.php.exp [new file with mode: 0644]
hphp/test/slow/unsafe_cast_nonnull_erased.php [new file with mode: 0644]
hphp/test/slow/unsafe_cast_nonnull_erased.php.expectf [new file with mode: 0644]
hphp/test/slow/unsafe_cast_nonnull_lhs.php [new file with mode: 0644]
hphp/test/slow/unsafe_cast_nonnull_lhs.php.expectf [new file with mode: 0644]