Links
Comment on page

4.4.4-8 Tuple 类型

Tuple 类型用来表示一个已排序的变量对象,其定义如下:
type Tuple struct {
vars []*Var
}
Tuple 通常用来表示函数的参数列表、返回值列表等,该类型仅仅用于编译器内部,不是语言层面的类型。