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:
@@ -27,4 +27,6 @@ clean:
|
||||
|
||||
kind_stringer.go: type.go
|
||||
@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...
|
||||
|
||||
Reference in New Issue
Block a user