Closed glycerine closed 6 years ago
In v0.9.1, pointers in structs work.
gi> type S struct { \
ptr *S
}
elapsed: '100.456µs'
gi> var s S
elapsed: '36.626µs'
gi> s
self.__typename: S; table: 0x04d249a0 {
ptr: table: 0x04d24560,
}
elapsed: '122.167µs'
gi>
cf tests 120-123 struct_test.go
or really anywhere; we haven't implemented them yet.