On Thu, Mar 10, 2022 at 2:18 PM 'Axel Wagner' via golang-nuts
<golang-nuts@googlegroups.com> wrote:

> TBH I find it rather surprising that the spec does not mention why `type X X` 
> is *not* allowed.

The specs guarantee unsafe.Sizeof() to produce the size. I think that
gives a Go compiler the right to reject that type definition.

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/CAA40n-Vct2AQLZnqAR3mGnwK7tLB9_crz6Nfj%3DkrFYn4OgXk%3DA%40mail.gmail.com.

Reply via email to