chore(tvix/eval): do not inherit scope depth in new scopes

This is no longer required, resolution is now more sane. Pointed out
by sterni in cl/6422.

Change-Id: Icc8983c648f864e66813948df6e2d4bad6a7f312
Reviewed-on: https://cl.tvl.fyi/c/depot/+/6565
Reviewed-by: sterni <sternenseemann@systemli.org>
Tested-by: BuildkiteCI
This commit is contained in:
Vincent Ambo 2022-09-13 16:06:44 +03:00 committed by tazjin
parent c28ecbee97
commit 30de72fefb

View file

@ -165,7 +165,6 @@ impl Scope {
pub fn inherit(&self) -> Self {
Self {
poisoned_tokens: self.poisoned_tokens.clone(),
scope_depth: self.scope_depth,
..Default::default()
}
}