On Sunday, 21 September 2014 at 20:05:57 UTC, Walter Bright wrote:
I don't know what mental model people have for how lookups work, but the above algorithm is how it actually works.

My mental model for local imports is "it's the same as module level imports, except the symbols are only available in this scope". I wouldn't expect a module symbol to shadow a local symbol.

Reply via email to