From 17fd625f7f004f85072fbe1368828576823eded4 Mon Sep 17 00:00:00 2001 From: James Shubin Date: Sun, 5 May 2019 08:07:03 -0400 Subject: [PATCH] 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 --- lang/types/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lang/types/Makefile b/lang/types/Makefile index ee2da50a..4188df1d 100644 --- a/lang/types/Makefile +++ b/lang/types/Makefile @@ -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...