I thought I read the generics doc well but.. :-)  Help is appreciated:

I instantiate a generic table example here in line 
41: https://go2goplay.golang.org/p/SadxA0khqx7 

Then I use it in lines 42 and 43.

The errors I get are below:
prog.go2:67:10: cannot use generic type Table[colA, colB, colC 
fmt.Stringer] without instantiation 
prog.go2:72:10: cannot use generic type Table[colA, colB, colC 
fmt.Stringer] without instantiation  

I am using the same table.  The method belongs to the struct so I would 
think should be considered instantiated and that I wouldn't have to repeat 
in lines 42 and 43 the types.

Is this a bug and it should infer since created in line 41 or what did I 
misunderstand in the doc?

Thanks in advance for the help!
David

-- 
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/9c999eee-3887-4d64-a41d-9402a1103a47n%40googlegroups.com.

Reply via email to