Skip to content

gccgo: treats 0 as channel #12323

Description

@dvyukov

gccgo compiles the following incorrect program:

package a
func s() {
    switch <-0 {}
}

gofrontend is on commit 81810917af7ba19e1f9f8efc8b1989f7d6419d30

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions