Mason
43
No, this is not possible. However, there are a few classes of circumstances where people desire this behaviour: Is Julia's way of OOP superior to C++/Python? Why Julia doesn't use class-based OOP? - #137 by Mason
One can kinda hack their way into this sort of behaviour using IRTools.jl, but I wouldn’t recommend it.