Commits on Source (1)
-
Zubin authored
The situation arises in ghcide where multiple different threads may need to update the name cache, therefore with the older interface it could happen that you start reading a hie file with name cache A and produce name cache A + B, but another thread in the meantime updated the namecache to A + C. Therefore if you write the new namecache you will lose the A' updates from the second thread. Updates haddock submodule
Showing
- compiler/GHC/Driver/Main.hs 2 additions, 3 deletionscompiler/GHC/Driver/Main.hs
- compiler/GHC/Iface/Ext/Binary.hs 24 additions, 21 deletionscompiler/GHC/Iface/Ext/Binary.hs
- testsuite/tests/hiefile/should_run/PatTypes.hs 1 addition, 1 deletiontestsuite/tests/hiefile/should_run/PatTypes.hs
- utils/haddock 1 addition, 1 deletionutils/haddock