[hack] Can instantiate class from unresolved class ID
[hack] Can instantiate class from unresolved class ID

Summary: We should be able to use "new" on a generic classname returned
by function. The type of the object created should also be preserved.

Reviewed By: @dlreeves

Differential Revision: D2432185

darioajr/flow,JohnyDays/flow,AgentME/flow,asivitz/flow,Eyyub/flow,jamesgpearce/flow,jeffmo/flow,cesarandreu/flow,AgentME/flow,ForbesLindesay/flow,shiftcars/flow,jgrund/flow,jdelStrother/flow,claudiopro/flow,jeffutter/flow,KevinTCoughlin/flow,mroch/flow,mcanthony/flow-type,MichaelDeBoey/flow,gabro/flow,asivitz/flow,jeffmo/flow,JonathanUsername/flow,danvk/flow,fletcherw/flow,cesarandreu/flow,mroch/flow,claudiopro/flow,ylu1317/flow,chenglou/flow,AprilArcus/flow,danvk/flow,JohnyDays/flow,jdelStrother/flow,Fresheyeball/flow,claudiopro/flow,d14b3l/flow,nmote/flow,shiftcars/flow,jgrund/flow,jamesgpearce/flow,samwgoldman/flow,nmote/flow,mroch/flow,darioajr/flow,shiftcars/flow,AprilArcus/flow,OCamlPro/flow,KevinTCoughlin/flow,jeffutter/flow,popham/flow,nmote/flow,TiddoLangerak/flow,JonathanUsername/flow,mcanthony/flow-type,facebook/flow,chenglou/flow,fletcherw/flow,samwgoldman/flow,MichaelDeBoey/flow,jeffmo/flow,mroch/flow,ylu1317/flow,ForbesLindesay/flow,AgentME/flow,jgrund/flow,OCamlPro/flow,AprilArcus/flow,danvk/flow,fletcherw/flow,nmote/flow,nmote/flow,jdelStrother/flow,gabelevi/flow,ylu1317/flow,jgrund/flow,MichaelDeBoey/flow,jdelStrother/flow,d14b3l/flow,popham/flow,ForbesLindesay/flow,OCamlPro/flow,ForbesLindesay/flow,graue/flow,facebook/flow,mcanthony/flow-type,gabro/flow,popham/flow,samwgoldman/flow,samwgoldman/flow,jamesgpearce/flow,asivitz/flow,claudiopro/flow,asivitz/flow,jeffmo/flow,gabelevi/flow,jgrund/flow,gabro/flow,fletcherw/flow,ForbesLindesay/flow,JonathanUsername/flow,jamesgpearce/flow,Fresheyeball/flow,mroch/flow,fletcherw/flow,jdelStrother/flow,AgentME/flow,TiddoLangerak/flow,KevinTCoughlin/flow,gabelevi/flow,TiddoLangerak/flow,darioajr/flow,mcanthony/flow-type,mroch/flow,jamesgpearce/flow,ForbesLindesay/flow,JohnyDays/flow,popham/flow,Eyyub/flow,popham/flow,jeffmo/flow,graue/flow,facebook/flow,OCamlPro/flow,JonathanUsername/flow,samwgoldman/flow,nmote/flow,nmote/flow,gabro/flow,cesarandreu/flow,Fresheyeball/flow,AprilArcus/flow,JonathanUsername/flow,jamesgpearce/flow,darioajr/flow,gabro/flow,jdelStrother/flow,shiftcars/flow,d14b3l/flow,gabelevi/flow,gabelevi/flow,facebook/flow,Eyyub/flow,graue/flow,chenglou/flow,popham/flow,gabelevi/flow,jeffmo/flow,chenglou/flow,popham/flow,graue/flow,d14b3l/flow,JonathanUsername/flow,shiftcars/flow,d14b3l/flow,graue/flow,AprilArcus/flow,JohnyDays/flow,TiddoLangerak/flow,AprilArcus/flow,shiftcars/flow,jeffutter/flow,d14b3l/flow,Eyyub/flow,graue/flow,gabelevi/flow,samwgoldman/flow,cesarandreu/flow,MichaelDeBoey/flow,facebook/flow,claudiopro/flow,facebook/flow,jeffutter/flow,ylu1317/flow,jgrund/flow,KevinTCoughlin/flow,AgentME/flow,mroch/flow,jamesgpearce/flow,ylu1317/flow,MichaelDeBoey/flow,chenglou/flow,gabro/flow,Fresheyeball/flow,samwgoldman/flow,JonathanUsername/flow,TiddoLangerak/flow,facebook/flow,fletcherw/flow,chenglou/flow,danvk/flow