I have two nested modules, both of them export a function of the  same name.
The functions have arguments of different types.
Both functions are also exported  from  the parent module. At least that is 
the intent,  but it fails.
Only  the latest definition is visible outside (unqualified).

module JFinEALE

....

include("AcousticsAlgorithmModule.jl")
using JFinEALE.AcousticsAlgorithmModule
export AcousticsAlgorithm
export steadystate

include("HeatDiffusionAlgorithmModule.jl")
using JFinEALE.HeatDiffusionAlgorithmModule
export HeatDiffusionAlgorithm
export steadystate # <=== only this one is visible

end

Is this a bug?  I don't  know if it's supposed to work like this, but I 
suspect not.

Petr


Reply via email to