<div dir="ltr"><div dir="ltr"><div>I have been trying the new `--share` option implemented in hadrian but I haven't actually managed to</div><div>complete any builds yet with it enabled after the initial one.</div><div><br></div><div>The current error is</div><div><br></div><div>```</div><div><no location info>: error:<br>    ‘Var.AnonArgFlag’ is exported by the hs-boot file, but not exported by the module<br>Error when running Shake build system:<br>  at action, called at src/Rules.hs:35:19 in main:Rules<br>  at need, called at src/Rules.hs:52:5 in main:Rules<br>* Depends on: _build/stage0/bin/ghc<br>  at need, called at src/Utilities.hs:71:18 in main:Utilities<br>* Depends on: _build/stage0/compiler/build/libHSghc-8.9.a<br>  at need, called at src/Rules/Library.hs:118:5 in main:Rules.Library<br>* Depends on: _build/stage0/compiler/build/Var.o<br>* Raised the exception:<br>user error (Development.Shake.cmd, system command failed<br>```</div><div><br></div><div>I get this after building Simon's `FunTy` patch which does add this flag and the definition to `Var.hs-boot` and then switching back to master with the cache enabled. <br></div><div><br></div><div>Could you please write down some advice Andrey about how to solve issues like this? It seems very fragile making sure that every case is covered. <br></div><div><br></div><div>Cheers,</div><div><br></div><div>Matt<br></div></div></div>