/
githubmirror
/
go
Обзор
Документация
Войти
/
githubmirror
/
go
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
test/fixedbugs/issue56109.go
18 строк
303 B
Ian Lance Taylor
test: add test case that caused a bogus error from gofrontend
11 окт 2022, 00:47
11 окт 2022, 00:47
bb2a96b
Код
Авторство
О чём код?
// 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 main import "math" func main() { f := func(p bool) { if p { println("hi") } } go f(true || math.Sqrt(2) > 1) }