Re: [go-nuts] About Enums

2021-11-19 Thread Shreyas Sreenivas
tures and there are valid use cases for them. Thanks for reviewing it nonetheless! On Saturday, November 13, 2021 at 3:25:58 AM UTC+5:30 Ian Lance Taylor wrote: > On Fri, Nov 12, 2021 at 9:20 AM Shreyas Sreenivas > wrote: > > > > Note, I've already looked at https://golan

[go-nuts] About Enums

2021-11-12 Thread Shreyas Sreenivas
Note, I've already looked at https://golang.org/issue/28987, https://golang.org/issue/19814, and https://golang.org/issue/28438. All of them require them to make a change that breaks the compatibility promise. I want to explore another way of defining enums that is backward compatible. *Enums a