On 9/22/2014 1:27 PM, deadalnix wrote:
On Monday, 22 September 2014 at 09:17:16 UTC, Walter Bright wrote:
It is depth first. It starts at the innermost scope, which is the current
scope. Somehow, we don't seem to be talking the same language :-(


Depth first in the sense, go from the inner to the outer scope and look for
local symbols. If that fails, go from the inner to the outer and look for
imported symbols.

I would find that to be surprising behavior, as I'd expect inner declarations to override outer ones.

Reply via email to