Syntax for import from parent module

question

#1

consider this MWE:

module Foo

macro id(expr)
    expr
end

module Bar

import Foo: @id       # how to refer to parent here without naming it?

@id(1+1)

end

end

Is it possible to import a symbol from the parent module without referring to that module by name? Eg with some syntax that involves .. or similar.

My use case: use the same function in submodules.

A workaround is putting these in a module, eg

module Foo

module Util

macro id(expr)
    expr
end

end

module Bar

import ..Util: @id       # how to refer to parent here without naming it?

@id(1+1)

end

end

#2
import ..@id