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:
		
							parent
							
								
									c28ecbee97
								
							
						
					
					
						commit
						30de72fefb
					
				
					 1 changed files with 0 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -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()
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue