/
githubmirror
/
go
Обзор
Документация
Войти
/
githubmirror
/
go
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
test/fixedbugs/issue22076.go
25 строк
429 B
Matthew Dempsky
[dev.typeparams] test: rename blank functions
29 июл 2021, 00:41
29 июл 2021, 00:41
adedf54
Код
Авторство
О чём код?
// compile // Copyright 2017 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 22076: Couldn't use ":=" to declare names that refer to // dot-imported symbols. package p import . "bytes" var _ Reader // use "bytes" import func f1() { Buffer := 0 _ = Buffer } func f2() { for Buffer := range []int{} { _ = Buffer } }