Closed RafalSkolasinski closed 4 years ago
There are known limitations on recursive types, because they are emulated: the reflect
package cannot create them.
Yet, this should be one of the supported cases... thanks for pointing out, I will investigate
Would consider adding some warning in the readme for a meantime. It was very confusing.
True. README.md updated.
Fixed in commit 39e156a960494a8c772801bf5d066e85800d3f6a
When trying to create a simple graph structure - a
struct
containing a slice of itself - I am getting problems ingophernotes
.Same works fine in just plain
go
file.Code:
throws error (warning?)