Skip to content

Not a spacing error: "<-chan <-chan" #655

Closed
@fxkr

Description

@fxkr
package main

func main() {
    _ = make(<-chan <-chan struct{})
}

https://play.golang.org/p/CKUYB_PX5D

The space between the two "<-chan" is mistakenly shown as a spacing error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions