You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
IDE: Properly update errors in open files upon file save
Summary:
The IDE obtains errors from two sources:
* for open files, it gets errors from its own typechecking. This allows to typecheck unsaved changes.
* Files are rechecked upon refocusing on the tab for the file and only then
* for non-open files, it gets errors from hh_server. These appear in the problem pane. Errors from hh_server for open files are ignored
With this diff, errors from hh_server for open files do get accounted for, so long the file does not have unsaved changes. See the test plan for a better idea of how this is helpful.
Reviewed By: mheiber
Differential Revision: D71131447
fbshipit-source-id: 05e7d502127b3b519a8dde3ce18b9cda58bd52c6
0 commit comments