Closed
Description
In Go1.9, with type alias support (currently on dev.typealias branch):
type (
a = b
b struct {
*a
}
)
produces:
x.go:19: invalid recursive type alias a
x.go:19: a uses b
x.go:20: b uses <T>
x.go:22: <T> uses a
There are a couple of issues:
- we'd like to have the struct be represented more sensibly (rather than just
<T>
) - the code is actually correct