On Sun, Apr 4, 2021 at 2:18 PM K. Alex Mills wrote:
> This seems like a welcome change and leaves the door open for the future
> inclusion of type unions. Nicely done!
>
> Regarding this approximation operator, I have a question about the
> intended meaning of:
>
> ~struct{
> F int
> A string
This seems like a welcome change and leaves the door open for the future
inclusion of type unions. Nicely done!
Regarding this approximation operator, I have a question about the intended
meaning of:
~struct{
F int
A string
}
Would this match the following types?
type A struct{
F int
A
We've just posted a potential update to the generics proposal at
https://golang.org/issue/45346. This clarifies and simplifies the
type lists that appear in interfaces, and let's us drop the "type"
keyword used to mark such lists.
Ian
--
You received this message because you are subscribed to t