back2dos / tinkerbell

MIT License
83 stars 8 forks source link

explain how / add support for "overloads" for @:read etc. #28

Closed jslenk-duffresearch closed 12 years ago

jslenk-duffresearch commented 12 years ago

class Super uses tink_lang @:read var foo:String. class Sub extends Super wants to change how foo is returned.

(i know, prefer composition over inheritance, but never the less...)

back2dos commented 12 years ago

I'm not sure I understand right, but overriding get_foo should do the trick, no?

back2dos commented 12 years ago

Can I close the ticket, or did you want something else entirely?

jslenk-duffresearch commented 12 years ago

i will try what you said, thanks! please close ok.

On Sun, Sep 2, 2012 at 9:16 AM, back2dos notifications@github.com wrote:

Can I close the ticket, or did you want something else entirely?

— Reply to this email directly or view it on GitHubhttps://github.com/back2dos/tinkerbell/issues/28#issuecomment-8223326.