gotypes: Go 1.9 was released Change-Id: I482c34974a153838ddebf8f9450e29d79b19cd69 Reviewed-on: https://go-review.googlesource.com/61018 Reviewed-by: Alan Donovan <adonovan@google.com>
diff --git a/gotypes/README.md b/gotypes/README.md index 3886945..a235fc8 100644 --- a/gotypes/README.md +++ b/gotypes/README.md
@@ -396,7 +396,7 @@ func (*Var) Anonymous() bool func (*Var) IsField() bool func (*Const) Val() constant.Value - func (*TypeName) IsAlias() bool // expected in Go 1.9 + func (*TypeName) IsAlias() bool func (*PkgName) Imported() *Package @@ -409,7 +409,7 @@ `(*Const).Val` returns the value of a named [constant](#constants). -`(*TypeName).IsAlias`, to be introduced in Go 1.9, reports whether the +`(*TypeName).IsAlias`, introduced in Go 1.9, reports whether the type name is simply an alias for a type (as in `type I = int`), as opposed to a definition of a [`Named`](#named-types) type, as in `type Celsius float64`. @@ -1258,7 +1258,7 @@ Type declarations come in two forms. -The simplest kind, to be introduced in Go 1.9, +The simplest kind, introduced in Go 1.9, merely declares a (possibly alternative) name for an existing type. Type names used in this way are informally called _type aliases_. For example, this declaration lets you use the type
diff --git a/gotypes/go-types.md b/gotypes/go-types.md index 9dccc68..d59516a 100644 --- a/gotypes/go-types.md +++ b/gotypes/go-types.md
@@ -313,7 +313,7 @@ func (*Var) Anonymous() bool func (*Var) IsField() bool func (*Const) Val() constant.Value - func (*TypeName) IsAlias() bool // expected in Go 1.9 + func (*TypeName) IsAlias() bool func (*PkgName) Imported() *Package @@ -326,7 +326,7 @@ `(*Const).Val` returns the value of a named [constant](#constants). -`(*TypeName).IsAlias`, to be introduced in Go 1.9, reports whether the +`(*TypeName).IsAlias`, introduced in Go 1.9, reports whether the type name is simply an alias for a type (as in `type I = int`), as opposed to a definition of a [`Named`](#named-types) type, as in `type Celsius float64`. @@ -1077,7 +1077,7 @@ Type declarations come in two forms. -The simplest kind, to be introduced in Go 1.9, +The simplest kind, introduced in Go 1.9, merely declares a (possibly alternative) name for an existing type. Type names used in this way are informally called _type aliases_. For example, this declaration lets you use the type