Right now when I have two packages, A and B, the order of loading package extension BAExt and execution of a @require A block in package B depends on which package is loaded first:
using A
using B
first executes @require A and then loads the extension, while
using B
using A
first loads the extension and then executes @require A block. Is there a way to ensure that the @require block is executed after the package extension is loaded regardless of the loading order?
Right now when I have two packages,
A
andB
, the order of loading package extensionBAExt
and execution of a@require A
block in packageB
depends on which package is loaded first:first executes
@require A
and then loads the extension, whilefirst loads the extension and then executes
@require A
block. Is there a way to ensure that the@require
block is executed after the package extension is loaded regardless of the loading order?Ref. https://github.com/JuliaManifolds/ManifoldDiff.jl/issues/26