Skip to content

go/types: investigate commit bdd0ff08 effect on type-checking outcome #35374

Open
@griesemer

Description

@griesemer

Follow-up on #33279. Investigate impact of commit bdd0ff0 on this piece of code:

package pkg

func fn() {
	func(arg int) []int {
		_ = arg
		return nil
	}(0)[0]++
}

Metadata

Metadata

Assignees

No one assigned

    Labels

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

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions