Skip to content

cmd/compile: ICE when StructMake not lowered #74908

@randall77

Description

@randall77
package main

type Type struct {
	any
}

type typeObject struct {
	e struct{}
	b *byte
}

func f(b *byte) Type {
	return Type{
		typeObject{
			b: b,
		},
	}

}

Gives the error

tmp6.go:13:2: internal compiler error: 'f': not lowered: v12, StructMake STRUCT STRUCT PTR

This is a problem triggered by CL 681937.

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

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions