Sorry, didn't read the whole thread, but here's how I tackled inheritance 
in my cross compiler: https://play.golang.org/p/UDp7nSLyl2. Granted, I am 
unsure about the unsafe thing, but the concept of a "method dispatcher" is 
likely what you need.

On Wednesday, November 23, 2016 at 11:09:03 AM UTC-6, Nick Patavalis wrote:
>
>
> On Wednesday, November 23, 2016 at 5:17:11 PM UTC+2, Tong Sun wrote:
>>
>> Can you make it work on play.golang.org, from this code 
>> https://play.golang.org/p/QjCtD9rGpa, according to your plan?
>>
>
> For this specific example, something like this: 
> https://play.golang.org/p/FsorWRaLKk
>
> /npat
>
>

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

Reply via email to