/
githubmirror
/
go
Обзор
Документация
Войти
/
githubmirror
/
go
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
test/fixedbugs/bug389.go
12 строк
368 B
Robert Griesemer
cmd/compile: use "cannot use %s as %s value in %s: %s" error message
29 сен 2022, 01:28
29 сен 2022, 01:28
7997e5f
Код
Авторство
О чём код?
// errorcheck // Copyright 2011 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. // Issue 2563 package foo func fn(a float32) {} var f func(arg int) = fn // ERROR "different parameter types|cannot use fn .*type func.*float32.. as func.*int. value in variable declaration"