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
Since the generated .go file resides somewhere in a temporary folder, it is outside the GOPATH boundary, and if a package is built but outdated (i.e. source code has been changed since it was built), the outdated version will be used.
The text was updated successfully, but these errors were encountered:
This causes it to recompile all packages at all times, solving the
problem of potentially using stale packages in a very inefficient
manner. The correct solution is for go command to be improved upstream.
This change depends on Go 1.5 being used.
In Go 1.5, a longstanding issue golang/go#10509 has been finally resolved!
Since the generated .go file resides somewhere in a temporary folder, it was
outside the GOPATH boundary, and if a package is built but stale (i.e. source
code has been changed since it was built), the stale version would've been used.
This reverts a temporary inefficient solution (95bb2b3)
of rebuilding absolutely all packages at all times just to avoid the risk of
incorrectly building with a stale package.
Resolves#3.
Since the generated .go file resides somewhere in a temporary folder, it is outside the GOPATH boundary, and if a package is built but outdated (i.e. source code has been changed since it was built), the outdated version will be used.
The text was updated successfully, but these errors were encountered: