[dev.typealias] cmd/compile: a few better comments related to alias types

For #18130.

Change-Id: I50bded3af0db673fc92b20c41a86b9cae614acd9
Reviewed-on: https://go-review.googlesource.com/35191
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
This commit is contained in:
Robert Griesemer 2017-01-12 15:21:21 -08:00
parent 5c160b28ba
commit cc2dcce3d7
2 changed files with 9 additions and 1 deletions

View file

@ -284,7 +284,7 @@ type Param struct {
//
// TODO: Should Func pragmas also be stored on the Name?
Pragma Pragma
Alias bool // node is alias for Ntype
Alias bool // node is alias for Ntype (only used when type-checking ODCLTYPE)
}
// Func holds Node fields used only with function-like nodes.