Allow strings as lvalues
commit7c6c557d3a7d464b1b035e5f608518773fcd24bb
authorVladimir Matveev <vladima@fb.com>
Thu, 29 Nov 2018 07:38:57 +0000 (28 23:38 -0800)
committerHhvm Bot <hhvm-bot@users.noreply.github.com>
Thu, 29 Nov 2018 07:45:23 +0000 (28 23:45 -0800)
tree7cca84632646cd9ffc18690193574489cce43725
parent960e135e2a0560c1dada7653054b1b173a1b34e7
Allow strings as lvalues

Summary: as in title

Reviewed By: KendallHopkins

Differential Revision: D13206026

fbshipit-source-id: 267f1211109a2b1906d60f096f4e464ffdb1ea2d
hphp/hack/src/typing/typing_mutability.ml
hphp/hack/test/typecheck/reactive/mut_string1.php [new file with mode: 0644]
hphp/hack/test/typecheck/reactive/mut_string1.php.exp [new file with mode: 0644]