commit | 89e46ae0cde7bebd8e97434355c5b7e57d902613 | [log] [tgz] |
---|---|---|
author | Ian Lance Taylor <iant@golang.org> | Sun Sep 10 09:30:24 2017 -0700 |
committer | Ian Lance Taylor <iant@golang.org> | Thu Sep 14 03:50:11 2017 +0000 |
tree | b07df36f0d8370b1439a5a23943a799bc00d015a | |
parent | b0a46c2cdb915ddc4a4e401af9ef6eb2bcd4d4ea [diff] |
compiler: emit type specific functions for aliases If we have an alias for a struct or array that requires a type-specific function, don't emit the function with the alias name. Emit it with the struct/array as usual. Test case is https://golang.org/cl/62531. Change-Id: Ic194ea913a3a6fa42138706d0a6929b490733394 Reviewed-on: https://go-review.googlesource.com/62412 Reviewed-by: Than McIntosh <thanm@google.com>