summaryrefslogtreecommitdiff
path: root/libgo/go/go/types/go12.go
blob: 20174421540e1f15abcb0421493daafec7333c4e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Copyright 2013 The Go Authors.  All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

// +build go1.2

package types

import "go/ast"

func slice3(x *ast.SliceExpr) bool {
	return x.Slice3
}

func sliceMax(x *ast.SliceExpr) ast.Expr {
	return x.Max
}