typechecker: improve uninit property error messages
commit23c99e8e3b3deeeba6b5b5382743833fc6a7e3bc
authorEugene Letuchy <eletuchy@fb.com>
Fri, 15 May 2015 00:00:02 +0000 (14 17:00 -0700)
committerhhvm-bot <hhvm-bot@fb.com>
Fri, 15 May 2015 04:30:35 +0000 (14 21:30 -0700)
treedf84bd51bab038687b3e23fe5e10a7348cc6e8f9
parenta510971fd581e3933e51c99fb68a1d0a56bf1051
typechecker: improve uninit property error messages

Summary: ... by listing **all** uninitialized properties rather than
 the first one.

Reviewed By: @dlreeves

Differential Revision: D2074646
hphp/hack/src/typing/nastInitCheck.ml
hphp/hack/src/utils/errors.ml
hphp/hack/src/utils/errors.mli
hphp/hack/test/typecheck/construct/missing_init.php [new file with mode: 0644]
hphp/hack/test/typecheck/construct/missing_init.php.exp [new file with mode: 0644]
hphp/hack/test/typecheck/construct/private_props_abs_without_construct1.php.exp
hphp/hack/test/typecheck/construct/private_props_abs_without_construct2.php.exp