Hello,
Is there any way to share @define
macros between a type and its companion object?
/**
* @define myDefinition hello world
*/
class MyType {
}
object MyType {
/** $myDefinition */
def foo: Bar
}
So how can I have a myDefinition
that’s shared?
Also, any way to share these at a package level?
Thanks,
—
Alexandru Nedelcu
alexn.org
Also, any way to share these at a package level?