On Thu, Jul 9, 2020 at 6:08 PM Alexandr Gulak <[email protected]> wrote:
>
> Expected behavior: I think it should fail on the type checking step saying we 
> cannot have a variable of that type
>
> Steps to reproduce: https://go2goplay.golang.org/p/RVTj-tORXip

I agree that it looks like the type checker should report an error for
that code.

Ian

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/CAOyqgcU8g0Kqy%2B5mFSqhf75Xu6X7DYMBMDCDOfS%2BYBovw5WJtA%40mail.gmail.com.

Reply via email to