[hack] Add declared file to failed_decl upon lazy declaration error
[hack] Add declared file to failed_decl upon lazy declaration error

Summary: To mimic the behavior of non lazy decl, we should add both the file where the error was found as well as the file we were typechecking to the list of files that have failed declaration when lazily declaring.

Reviewed By: dabek

Differential Revision: D4113886

fbshipit-source-id: 6dbb7eece41049e3ba7cfd10806e66428ed254aa

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