3 ms·
'go install pkg@version' will error on replace directives rather then ignore. I fought hard in the github issues to make go install error on replace as a compr
by pa7ch 5y ago
'go install pkg@version' will error on replace directives rather then ignore.
I fought hard in the github issues to make go install error on replace as a compromise to ignoreing it which creates two subtly different build modes! Also by erroring we leave open the possibility to eventually change it to build correctly with the replace directives without breakage.
Add your voice that @version cmds should respect all replace directives that they reasonably can!
- floren 5y agoThank you for the correction, and thank you for fighting for it! I agree that errors are far better than silently ignoring it. I'll weigh in on the issue tracker if I remember later.