On Tue, Aug 18, 2020 at 4:38 PM Frederik Zipp <frederik.z...@gmail.com> wrote:

> The draft syntax for type lists is a comma separated list:
>
>     type SignedInteger interface {
>     type int, int8, int16, int32, int64
>     }
>
> Wouldn't it be more consistent with existing Go syntax regarding types if it 
> was a semicolon separated list in curly braces?

I don't think so. The type list in this case is syntactically just an
identifier list, i.e not a list containing possibly eg. type
literals/anonymous types.

And identifier lists are everywhere else comma separated.

-- 
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-X2bFHTsKz7k1b3dspR_d_B5uPegEnxeEaDY5z5FB5Lfg%40mail.gmail.com.

Reply via email to