From e6cbe778da3cea914ea6436d0f99309605c3dfc4 Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Mon, 27 Feb 2017 10:48:59 -0500 Subject: [PATCH] draw: use type aliases for go1.8.typealias builds too go1.8.typealias is the build tag defined by the unreleased "Go 1.8 + type aliases" variant in the Go repo's dev.typealias branch. Change-Id: Iff2566249ecc9a6788b78199743d2005708f1cd7 Reviewed-on: https://go-review.googlesource.com/37511 Run-TryBot: Russ Cox TryBot-Result: Gobot Gobot Reviewed-by: Brad Fitzpatrick --- draw/go1_8.go | 2 +- draw/go1_9.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/draw/go1_8.go b/draw/go1_8.go index 95db46f..ec192b7 100644 --- a/draw/go1_8.go +++ b/draw/go1_8.go @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -// +build !go1.9 +// +build !go1.9,!go1.8.typealias package draw diff --git a/draw/go1_9.go b/draw/go1_9.go index 1e878e1..fc548e9 100644 --- a/draw/go1_9.go +++ b/draw/go1_9.go @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -// +build go1.9 +// +build go1.9 go1.8.typealias package draw