Skip to content

go/types,types2: internal compiler error: panic: cmd/compile/internal/types2/check.go:595: assertion failed #66878

@Carrotman42

Description

@Carrotman42

Go version

go dev branch (for playground)

Output of go env in your module/workspace:

go playground (sorry, not sure how to get the env from there)

What did you do?

This program crashes the compiler at the current dev branch in the playground: https://go.dev/play/p/3JI9h22Igk8?v=gotip

(sidenote: I was only trying to get this part of the spec to compile :])

What did you see happen?

Compiler crash

What did you expect to see?

Compiler success or standard error message

Metadata

Metadata

Assignees

Labels

FrozenDueToAgeNeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions