/
githubmirror
/
go
Обзор
Документация
Войти
/
githubmirror
/
go
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
test/fixedbugs/issue52673.go
16 строк
325 B
Cuong Manh Le
cmd/compile: fix static init of literal contains dynamic exprs
05 май 2022, 04:33
05 май 2022, 04:33
0bd7408
Код
Авторство
О чём код?
// compile // Copyright 2022 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. package p func f() { var x string func() [10][]bool { return [10][]bool{ []bool{bool(x < "")}, []bool{}, []bool{}, []bool{}, []bool{}} }() }