[hack] Factor out history from the local type in order to prepare for flow typing of locals with continuations
[hack] Factor out history from the local type in order to prepare for flow typing of locals with continuations

Summary:
Factor out history from the local type in order to prepare for flow typing of locals with continuations
Eventually, we will remove the history since continuation based flow typing will deal with it. This is a preliminary step to change the current architecture

Reviewed By: andrewjkennedy

Differential Revision: D4314936

fbshipit-source-id: 77293dbafe08b7e00c858041d3b0c0b1a7d4c2ec

ylu1317/flow,MichaelDeBoey/flow,ForbesLindesay/flow,JonathanUsername/flow,mroch/flow,samwgoldman/flow,gabro/flow,facebook/flow,ylu1317/flow,JonathanUsername/flow,gabelevi/flow,AgentME/flow,popham/flow,AgentME/flow,mroch/flow,claudiopro/flow,ylu1317/flow,facebook/flow,TiddoLangerak/flow,MichaelDeBoey/flow,nmote/flow,samwgoldman/flow,gabro/flow,facebook/flow,gabro/flow,nmote/flow,nmote/flow,fletcherw/flow,fletcherw/flow,gabelevi/flow,facebook/flow,gabelevi/flow,gabro/flow,popham/flow,TiddoLangerak/flow,nmote/flow,samwgoldman/flow,popham/flow,popham/flow,JonathanUsername/flow,samwgoldman/flow,nmote/flow,ForbesLindesay/flow,jamesgpearce/flow,TiddoLangerak/flow,samwgoldman/flow,mroch/flow,gabelevi/flow,MichaelDeBoey/flow,mroch/flow,mroch/flow,fletcherw/flow,jamesgpearce/flow,popham/flow,MichaelDeBoey/flow,jamesgpearce/flow,JonathanUsername/flow,nmote/flow,claudiopro/flow,claudiopro/flow,facebook/flow,samwgoldman/flow,gabelevi/flow,ylu1317/flow,jamesgpearce/flow,facebook/flow,samwgoldman/flow,jamesgpearce/flow,AgentME/flow,ForbesLindesay/flow,fletcherw/flow,facebook/flow,AgentME/flow,ylu1317/flow,mroch/flow,TiddoLangerak/flow,JonathanUsername/flow,gabelevi/flow,ForbesLindesay/flow,gabelevi/flow,nmote/flow,jamesgpearce/flow,ForbesLindesay/flow,gabro/flow,claudiopro/flow,fletcherw/flow,popham/flow,mroch/flow,TiddoLangerak/flow,jamesgpearce/flow,MichaelDeBoey/flow,fletcherw/flow,gabro/flow,AgentME/flow,claudiopro/flow,JonathanUsername/flow,JonathanUsername/flow,popham/flow,ForbesLindesay/flow