Change Thrift codegen to work with dmd 2.065
Change Thrift codegen to work with dmd 2.065

Summary: In 2.065 the D front-end became more trigger-happy about detecting recursive instantiation of templates, so this diff special-cases two more functions. The question remains open whether this is an insufficiency in introspection or a misapplication thereof.

Test Plan: built it, ran it, became a part of it

Reviewed By: davidsp@fb.com, simpkins@fb.com

Subscribers: alandau, bmatheny

FB internal diff: D1443169

Tasks: 4503363

Orvid/fbthrift,maxwell-demon/fbthrift,SergeyMakarenko/fbthrift,getyourguide/fbthrift,fengshao0907/fbthrift,guker/fbthrift,sinjar666/fbthrift,chjp2046/fbthrift,maxwell-demon/fbthrift,fengshao0907/fbthrift,raphaelamorim/fbthrift,SergeyMakarenko/fbthrift,project-zerus/fbthrift,maxwell-demon/fbthrift,raphaelamorim/fbthrift,HankFaan/fbthrift,soumith/fbthrift,facebook/fbthrift,sinjar666/fbthrift,raphaelamorim/fbthrift,kangkot/fbthrift,getyourguide/fbthrift,LinusU/fbthrift,chjp2046/fbthrift,uber/fbthrift,project-zerus/fbthrift,uber/fbthrift,sinjar666/fbthrift,sinjar666/fbthrift,LinusU/fbthrift,Orvid/fbthrift,kangkot/fbthrift,getyourguide/fbthrift,project-zerus/fbthrift,getyourguide/fbthrift,chjp2046/fbthrift,sinjar666/fbthrift,SergeyMakarenko/fbthrift,guker/fbthrift,jesboat/fbthrift,SergeyMakarenko/fbthrift,maxwell-demon/fbthrift,guker/fbthrift,HankFaan/fbthrift,fengshao0907/fbthrift,jesboat/fbthrift,getyourguide/fbthrift,kangkot/fbthrift,project-zerus/fbthrift,Orvid/fbthrift,raphaelamorim/fbthrift,raphaelamorim/fbthrift,jesboat/fbthrift,uber/fbthrift,sinjar666/fbthrift,raphaelamorim/fbthrift,jesboat/fbthrift,fengshao0907/fbthrift,guker/fbthrift,soumith/fbthrift,LinusU/fbthrift,chjp2046/fbthrift,facebook/fbthrift,facebook/fbthrift,guker/fbthrift,SergeyMakarenko/fbthrift,facebook/fbthrift,HankFaan/fbthrift,LinusU/fbthrift,jesboat/fbthrift,HankFaan/fbthrift,jesboat/fbthrift,SergeyMakarenko/fbthrift,Orvid/fbthrift,sinjar666/fbthrift,fengshao0907/fbthrift,guker/fbthrift,chjp2046/fbthrift,kangkot/fbthrift,HankFaan/fbthrift,jesboat/fbthrift,facebook/fbthrift,sinjar666/fbthrift,Orvid/fbthrift,HankFaan/fbthrift,SergeyMakarenko/fbthrift,chjp2046/fbthrift,SergeyMakarenko/fbthrift,maxwell-demon/fbthrift,raphaelamorim/fbthrift,facebook/fbthrift,fengshao0907/fbthrift,SergeyMakarenko/fbthrift,soumith/fbthrift,raphaelamorim/fbthrift,maxwell-demon/fbthrift,uber/fbthrift,chjp2046/fbthrift,soumith/fbthrift,facebook/fbthrift,facebook/fbthrift,raphaelamorim/fbthrift,getyourguide/fbthrift,fengshao0907/fbthrift,getyourguide/fbthrift,soumith/fbthrift,project-zerus/fbthrift,chjp2046/fbthrift,Orvid/fbthrift,project-zerus/fbthrift,maxwell-demon/fbthrift,LinusU/fbthrift,jesboat/fbthrift,maxwell-demon/fbthrift,soumith/fbthrift,kangkot/fbthrift,soumith/fbthrift,project-zerus/fbthrift,LinusU/fbthrift,raphaelamorim/fbthrift,chjp2046/fbthrift,LinusU/fbthrift,LinusU/fbthrift,uber/fbthrift,chjp2046/fbthrift,LinusU/fbthrift,project-zerus/fbthrift,project-zerus/fbthrift,soumith/fbthrift,soumith/fbthrift,Orvid/fbthrift,sinjar666/fbthrift,fengshao0907/fbthrift,soumith/fbthrift,raphaelamorim/fbthrift,guker/fbthrift,fengshao0907/fbthrift,uber/fbthrift,project-zerus/fbthrift,uber/fbthrift,Orvid/fbthrift,Orvid/fbthrift,HankFaan/fbthrift,uber/fbthrift,jesboat/fbthrift,jesboat/fbthrift,guker/fbthrift,guker/fbthrift,SergeyMakarenko/fbthrift,SergeyMakarenko/fbthrift,fengshao0907/fbthrift,getyourguide/fbthrift,guker/fbthrift,kangkot/fbthrift,facebook/fbthrift,kangkot/fbthrift,uber/fbthrift,uber/fbthrift,kangkot/fbthrift,sinjar666/fbthrift,kangkot/fbthrift,sinjar666/fbthrift,HankFaan/fbthrift,Orvid/fbthrift,soumith/fbthrift,SergeyMakarenko/fbthrift,uber/fbthrift,project-zerus/fbthrift,HankFaan/fbthrift,LinusU/fbthrift,Orvid/fbthrift,maxwell-demon/fbthrift,HankFaan/fbthrift,getyourguide/fbthrift,maxwell-demon/fbthrift,jesboat/fbthrift,maxwell-demon/fbthrift,LinusU/fbthrift,getyourguide/fbthrift,uber/fbthrift,chjp2046/fbthrift,kangkot/fbthrift,HankFaan/fbthrift,chjp2046/fbthrift,fengshao0907/fbthrift,jesboat/fbthrift,project-zerus/fbthrift,kangkot/fbthrift,guker/fbthrift,getyourguide/fbthrift,getyourguide/fbthrift