/
githubmirror
/
go
Обзор
Документация
Войти
/
githubmirror
/
go
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
test/fixedbugs/issue68292.go
12 строк
309 B
Tim King
cmd/compile/internal/types2: change inference error message
13 авг 2024, 20:25
13 авг 2024, 20:25
0253c0f
Код
Авторство
О чём код?
// errorcheck // Copyright 2024 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. package main func f[S any, T any](T) {} func g() { f(0) // ERROR "in call to f, cannot infer S \(declared at issue68292.go:9:8\)" }