Readonly prop modifications
commit6ff03e2d33c45e87b4c574e6dc0b6eacbf02235f
authorJames Wu <jjwu@fb.com>
Fri, 19 Feb 2021 21:11:15 +0000 (19 13:11 -0800)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Fri, 19 Feb 2021 21:13:29 +0000 (19 13:13 -0800)
tree0ad6e703bf144e5116c05043a40a62e2a95ad033
parent188667a8f5cb1b32fed40db4d9357cf9f05f7c98
Readonly prop modifications

Summary: This diff allows code that modifies readonly/mutable properties to work properly.

Reviewed By: zilberstein

Differential Revision: D26467795

fbshipit-source-id: a01493ce66f704dc06a72e1c8d55b8c046283f02
hphp/hack/src/typing/tast_check/readonly_check.ml
hphp/hack/test/typecheck/readonly/args.php
hphp/hack/test/typecheck/readonly/args.php.exp
hphp/hack/test/typecheck/readonly/prop.php
hphp/hack/test/typecheck/readonly/prop.php.exp
hphp/hack/test/typecheck/readonly/prop.php.legacy_decl.exp
hphp/hack/test/typecheck/readonly/prop.php.like_types.exp