/
githubmirror
/
go
Обзор
Документация
Войти
/
githubmirror
/
go
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
test/fixedbugs/issue8311.go
16 строк
333 B
Ian Lance Taylor
test: recognize gofrontend error messages
15 дек 2020, 05:35
15 дек 2020, 05:35
5a25a3f
Код
Авторство
О чём код?
// errorcheck // Copyright 2014 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 8311. // error for x++ should say x++ not x += 1 package p func f() { var x []byte x++ // ERROR "invalid operation: x[+][+]|non-numeric type" }