On Sunday, July 12, 2020 at 9:33:43 PM UTC+2 ba...@iitbombay.org wrote:

> The issue is that fn's type can't be completely determined until 
> the RHS func is fully analyzed but for that to work fn must be 
> known! This is not a problem when a "const" function references 
> itself as in `func foo() { ... foo() ... }`. 
>
> Also note that the first definition won't do what you may be thinking 
> it does. The`fn.GET` call will be to the existing value of fn, not 
> the result of the assignment. 
>

Ok thanks 

-- 
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/4c921c21-906b-463b-9df6-08951ed8488dn%40googlegroups.com.

Reply via email to