Mutual Type Reference Not Supported
jcburley opened this issue · comments
From @jcburley on November 6, 2018 14:46
E.g.:
type A struct {
B *B
}
type B struct {
A *A
}
An example of this is found in http.Request
and http.Response
, which refer to each other (via pointers/references).
Copied from original issue: jcburley/gostd2joker#1
Should no longer be an issue, now that constructor and conversion routines are generated for types via "shallow transformation".