Report all undefined types in one gonightly-2019.05.08
commit6db46e22648f42022af1015759c01fd96d3aa32b
authorMark Williams <mwilliams@fb.com>
Wed, 8 May 2019 02:13:46 +0000 (7 19:13 -0700)
committerHhvm Bot <hhvm-bot@users.noreply.github.com>
Wed, 8 May 2019 02:17:37 +0000 (7 19:17 -0700)
treec1414f4549f9cfa0e7fe35b2bbe3e69cafe696d6
parente565ddc504757807ae17271ae2d46a656f6b2b80
Report all undefined types in one go

Summary:
When gen_type_scanners needs a type, but can't find a definition, it
throws an exception, reporting the name of the missing type.

As a result, if there are lots of missing types, you only find out
about the first one.

This changes it to report all the missing types in one go.

Reviewed By: binliu19, alexeyt

Differential Revision: D15242070

fbshipit-source-id: fbc9ef06a6ebb50fcdf7b83c3f7424693011c9c4
hphp/tools/type-info-gens/gen-type-scanners.cpp