ridiculousfish f3560b8e62 Correctly un-export an env var when it is shadowed
Prior to this fix, if you exported a variable in one scope
and then unexported it in the next, it would remain exported.
Example:

    set -gx VAR 1
    function foo; set -l VAR; env; end
    foo

Here 'VAR' would be exported to 'env' because we failed to
notice that the env var is shadowed by an unexported variable.
This occurred at env var computation time, not in env_set!

Fixes #2132
2015-06-12 16:05:59 -07:00
..
2014-08-20 21:45:07 -07:00
2014-09-21 21:03:44 -07:00
2014-09-21 21:03:44 -07:00
2014-09-21 21:03:44 -07:00
2014-12-23 15:46:47 -08:00
2014-12-23 15:46:47 -08:00
2013-03-03 00:45:34 +05:30
2005-09-20 23:31:55 +10:00
2015-04-05 23:47:04 -07:00
2005-09-20 23:31:55 +10:00
2005-09-20 23:31:55 +10:00
2010-09-18 10:18:26 +08:00
2005-09-20 23:31:55 +10:00
2005-09-20 23:31:55 +10:00
2005-09-20 23:31:55 +10:00
2005-09-20 23:31:55 +10:00
2005-09-20 23:31:55 +10:00
2005-09-20 23:31:55 +10:00
2005-09-20 23:31:55 +10:00
2005-09-20 23:31:55 +10:00
2005-09-20 23:31:55 +10:00
2005-09-20 23:31:55 +10:00
2014-07-13 19:11:29 -07:00
2012-07-08 09:19:11 +08:00
2012-07-08 09:19:11 +08:00
2014-11-01 21:06:16 -07:00