/
githubmirror
/
go
Обзор
Документация
Войти
/
githubmirror
/
go
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
test/fixedbugs/issue77435.go
15 строк
371 B
Keith Randall
cmd/compile: don't double-walk the map argument of clear
05 фев 2026, 04:48
05 фев 2026, 04:48
b8bccb9
Код
Авторство
О чём код?
// compile // Copyright 2026 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 77435: compiler crash on clear of map resulting // from a map lookup (or some other syntax that is // non-idempotent during walk). package p func f(s map[int]map[int]int) { clear(s[0]) }