/
githubmirror
/
go
Обзор
Документация
Войти
/
githubmirror
/
go
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
test/fixedbugs/issue23664.go
17 строк
387 B
Robert Griesemer
cmd/compile: remove quoting in favor of clearer prose in error messages
30 май 2024, 22:19
30 май 2024, 22:19
cc95d85
Код
Авторство
О чём код?
// errorcheck // Copyright 2018 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. // Verify error messages for incorrect if/switch headers. package p func f() { if f() true { // ERROR "unexpected name true, expected {" } switch f() true { // ERROR "unexpected name true, expected {" } }