On Tue, May 31, 2022 at 1:39 AM Will Faught <w...@willfaught.com> wrote:

> Why not allow nil to be used as the zero value for type variables, to fill
> this gap?
>
> return nil // == V(nil)
>

See also:
https://github.com/golang/go/issues/35966
https://github.com/golang/go/issues/19642

-- 
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/CAOeFMNXMAo_%3DP%3De2btrYSDwhTqhY8bzxAAc4W%2ByTs4g9pwb-Hg%40mail.gmail.com.

Reply via email to