Move tparam duplicate check to nast_check
Summary:
Trying to break up naming into separate components - This stack attempts to clean up and move error checks from naming.ml to into nast_check by converting them to nast_visitors. Some of these passes do not require names or calls to the naming table so they could be parser errors - but keeping them consistent until we decide what we want to do with them later.
Moves check of duplicates of generic names
Reviewed By: kmeht
Differential Revision:
D17531449
fbshipit-source-id:
ff4dcbe62887ecade78544f6e5e5e98c210fc948