Skip to content

cmd/compile: internal compiler error: bad conversion to untyped: untyped bool #75617

@ALTree

Description

@ALTree
$ go version
go version go1.26-devel_45d6bc76af Fri Sep 26 00:30:55 2025 -0700 linux/amd64
package p

func f() *bool {
    var i int
    return new(i > 0)
}
$ go build crash.go

./crash.go:5:12: internal compiler error: bad conversion to untyped: untyped bool

cc @adonovan @golang/compiler

Metadata

Metadata

Assignees

Labels

NeedsFixThe path to resolution is known, but the work has not been done.compiler/runtimeIssues related to the Go compiler and/or runtime.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions