From ec61302c8eeed1f9705bc51e6606220ce21f4a60 Mon Sep 17 00:00:00 2001 From: Alexander Zolotov Date: Thu, 7 Dec 2017 23:43:58 +0300 Subject: [PATCH] naming: Fix build constraints for go1.6 and go1.7 (#1718) "go1.6, !go1.8" constraints are interpreted as (version >= 1.6 AND ) OR version < 1.8, where (version >= 1.6 AND ) is always false, so it matches all go versions before 1.8, not only 1.6 and 1.7. Removed a space, so the constraints are now matches only go1.6 and go1.7 versions --- naming/go17.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/naming/go17.go b/naming/go17.go index a537b08c..57b65d7b 100644 --- a/naming/go17.go +++ b/naming/go17.go @@ -1,4 +1,4 @@ -// +build go1.6, !go1.8 +// +build go1.6,!go1.8 /* *