lang: types: Workaround stringer regression in golang 1.11

Here's a fix for another golang regression in 1.11.x which wasn't needed
before! More info in: https://github.com/golang/go/issues/31843
This commit is contained in:
James Shubin
2019-05-05 08:07:03 -04:00
parent d1ecfd8657
commit 17fd625f7f

View File

@@ -27,4 +27,6 @@ clean:
kind_stringer.go: type.go kind_stringer.go: type.go
@echo "Generating: type kind strings..." @echo "Generating: type kind strings..."
go generate @# workaround `stringer` regression in golang 1.11
@# see: https://github.com/golang/go/issues/31843
@unset GOCACHE && go generate # GOCACHE is returned to normal on exit...