Skip to content

cmd/go2go: go2go playground: error with go fmt (generics) #43470

@candlerb

Description

@candlerb

What version of Go are you using (go version)?

https://go2goplay.golang.org/

fmt.Println(runtime.Version()) reports devel +abe4d3dce1 Tue Dec 8 17:59:47 2020 +0000

Does this issue reproduce with the latest release?

N/A

What operating system and processor architecture are you using (go env)?

N/A

What did you do?

https://go2goplay.golang.org/p/IUL1QDrtOwW

Click on "Format". (Note: this program runs happily)

What did you expect to see?

Program to be re-formatted

What did you see instead?

prog.go:40:24: expected ']', found ',' (and 6 more errors)

Metadata

Metadata

Assignees

No one assigned

    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