What version of Go are you using (go version)?
$ go version
go version devel go1.22-bf876fbf44 Fri Oct 6 17:09:13 2023 -0400 darwin/amd64
(i.e., near tip on 2023-10-10)
Does this issue reproduce with the latest release?
No
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
What did you do?
git clone https://github.com/hashicorp/terraform-provider-azurerm
cd terraform-provider-azurerm
cd internal/
cd services
cd policy
go test -c .
What did you expect to see?
Not a compiler crash
What did you see instead?
A compiler crash:
# github.com/hashicorp/terraform-provider-azurerm/internal/services/policy
./assignment_subscription_resource.go:46:2: internal compiler error: 'SubscriptionAssignmentResource.Create': not lowered: v6, StructMake0 STRUCT
etc
What version of Go are you using (
go version)?(i.e., near tip on 2023-10-10)
Does this issue reproduce with the latest release?
No
What operating system and processor architecture are you using (
go env)?go envOutputWhat did you do?
What did you expect to see?
Not a compiler crash
What did you see instead?
A compiler crash: