Comment Comment by ianlancetaylor Unfortunately [T] is also ambiguous with the current Go syntax. The parser can't distinguish an array declaration from a generic type. parent ianlancetaylor 8 years ago