/
/
opt
/
golang
/
1.19.4
/
src
/
go
/
parser
/
testdata
Server: in-mum-web1112.main-hosting.eu (62.72.28.111)
You: 216.73.216.137
PHP 8.3.16
Dir:
/opt/golang/1.19.4/src/go/parser/testdata
Edit:
/opt/golang/1.19.4/src/go/parser/testdata/typeparams.src
// Copyright 2021 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Test cases for error messages produced while parsing code that uses type // parameters, without ParseTypeParams being enabled. package p type List[E any /* ERROR "expected ']', found any" */ ] []E type Pair[L, /* ERROR "unexpected comma" */ R any] struct { Left L Right R } var _ = Pair[int, /* ERROR "expected ']' or ':', found ','" */ string]{}
Ukuran: 516 B