Skip to content

cmd/gc: internal compiler error: typename untyped bool #7366

@gopherbot

Description

@gopherbot
$ go run bug.go 
# command-line-arguments
./bug.go:7: internal compiler error: typename untyped bool

This fails with tip (dd7e7b0a60fe) on linux/amd64 but works with go1.2.
It doesn't trigger on playground, but here's a link for easy sharing:
http://play.golang.org/p/KffH_KWb9V

package main

type T struct {
    data [10]byte
}

func main() {
    var a T
    var b T
    if a == b {
    }
}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions