Disallow mutability annotations on inout parameters
commit26c97b363b43cf5c8f5769b03f1215810c70c996
authorVladimir Matveev <vladima@fb.com>
Wed, 28 Nov 2018 19:13:00 +0000 (28 11:13 -0800)
committerHhvm Bot <hhvm-bot@users.noreply.github.com>
Wed, 28 Nov 2018 19:16:15 +0000 (28 11:16 -0800)
tree04f68f7f4a66f81cabbe6ebc232692d80fcdc1c1
parentba57c75094424008b90d9a79dc6fc1d27b54a420
Disallow mutability annotations on inout parameters

Summary: as in title

Reviewed By: DavidSnider

Differential Revision: D13200087

fbshipit-source-id: c57f82b8b3bf919536bcca0528ebc4502ef15169
hphp/hack/src/parser/full_fidelity_parser_errors.ml
hphp/hack/src/parser/full_fidelity_syntax_error.ml
hphp/hack/src/parser/full_fidelity_syntax_error.mli
hphp/hack/test/typecheck/reactive/mutability_inout1.php [new file with mode: 0644]
hphp/hack/test/typecheck/reactive/mutability_inout1.php.exp [new file with mode: 0644]
hphp/hack/test/typecheck/reactive/mutability_inout2.php [new file with mode: 0644]
hphp/hack/test/typecheck/reactive/mutability_inout2.php.exp [new file with mode: 0644]
hphp/hack/test/typecheck/reactive/mutability_inout3.php [new file with mode: 0644]
hphp/hack/test/typecheck/reactive/mutability_inout3.php.exp [new file with mode: 0644]
hphp/hack/test/typecheck/reactive/mutable_inout1.php.exp