Imported entity defined in a lexical block is handled correctly by emitting a debug info entry in each lexical block instance (abstract, inline and concrete), if it has code.
However, if the imported entity was defined in a function scope (top level), it is emitted only in the concrete function, even if it has no code!
This patch solve the issue by handling imported entity defined in a function scope similar to the one defined in a lexical block scope.
HasNoneScopeChild is uninitialized here.