go icon indicating copy to clipboard operation
go copied to clipboard

Skip type aliases

Open mxmauro opened this issue 2 years ago • 0 comments

Hi, when you define type A = B, A becomes an alias of B.

Instead, using type A B, B is an underlying object of A.

For the former, the generator incorrectly generates duplicated selfer methods causing the go code to be invalid.

Regards, Mauro

mxmauro avatar Jun 12 '22 13:06 mxmauro