Skip to content

internal compiler error: naddr: ONAME class x 5 #1231

@griesemer

Description

@griesemer
6g test.go 
test.go:7: internal compiler error: naddr: ONAME class x 5

with test.go:

package P

func f(func()) {}

func g(x int) {
    f(func() {
        _ = x
    })
}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions