FAQ
Gython can now call methods on class instances returned from a function
that returns multiple subclass types. In the generated Go code a type
switch is created in the caller that switches on the instance type. This
creates a new branch in the function body for each subclass type.

http://gython.blogspot.com/2014/10/go-generics-part2-returning-subclasses.html

--
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+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupgolang-nuts @
categoriesgo
postedOct 12, '14 at 11:54p
activeOct 12, '14 at 11:54p
posts1
users1
websitegolang.org

1 user in discussion

Harts Antler: 1 post

People

Translate

site design / logo © 2022 Grokbase