Fix bug constructing default values for Structs
Fix bug constructing default values for Structs

Summary: Previously, everything used the old php style constructors, and this was a map. However, to maintain sanity I had each field pave its own properly typehinted param. This wasn't updated to reflect this unfortunately.

Test Plan: create a thrift file with "struct Foo {1: i32 foo} struct Bar {1: Vector<Foo> = [{}]}" and generate it, observe no hack errors

Reviewed By: andrewcox@fb.com

Subscribers: alandau, mshneer, yfeldblum

FB internal diff: D1977596

Signature: t1:1977596:1428534758:9b9969e10ea195824ec43ed9b5895cb9ea6bae7d

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