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

-- 
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/CAOcjEuXzAryBA6debPp%3Dv6TDfnw4D1_n-LSt52iOe_7Gpi3CUA%40mail.gmail.com.

Reply via email to