OOPMacro.jl icon indicating copy to clipboard operation
OOPMacro.jl copied to clipboard

subclassing in a different module

Open amanica opened this issue 8 years ago • 3 comments

I figured out that to be able to subclass something in a different module you need to expose the class eg. MyClass and AbstractClass.

maybe we should mention it in the readme OR Maybe we can add another macro to do it for you eg. @export_class MyClass

if that sounds good I can make a pull request

amanica avatar Sep 07 '17 21:09 amanica

Yeah, that sounds like a good uses case. But I think this package is outdated now since julia 0.6 is now out...

ipod825 avatar Nov 16 '17 21:11 ipod825

It still works great in 0.6.4 I can't imagine using Julia for a big project without this plugin - I think in objects :smiley:

amanica avatar Sep 22 '18 15:09 amanica

Though I am not using Julia now, you are still welcomed to send a pull request.

ipod825 avatar Sep 28 '18 16:09 ipod825