Skip to content

gccgo: treats nil as type #11567

Description

@dvyukov

gccgo successfully compiles the following program:

package n
func f(a nil)

It must not.
gcc version 6.0.0 2015070 (experimental) (GCC)

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