github.com/AndrienkoAleksandr/go@v0.0.19/src/go/parser/testdata/issue49175.go2 (about) 1 // Copyright 2021 The Go Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style 3 // license that can be found in the LICENSE file. 4 5 package p 6 7 type _[_ []t]t 8 type _[_ [1]t]t 9 10 func _[_ []t]() {} 11 func _[_ [1]t]() {} 12 13 type t [t /* ERROR "type parameters must be named" */ [0]]t