Skip to content

Commit ec61302

Browse files
zolotovdfawley
authored andcommitted
naming: Fix build constraints for go1.6 and go1.7 (grpc#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
1 parent b8191e5 commit ec61302

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

naming/go17.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// +build go1.6, !go1.8
1+
// +build go1.6,!go1.8
22

33
/*
44
*

0 commit comments

Comments
 (0)