fix(tvix/eval): use fragment span for OpAttrsSelect
Pointed out by sterni in cl/6389 Change-Id: I648056a760266a8cfd7adcdc478c7ff2132991f7 Reviewed-on: https://cl.tvl.fyi/c/depot/+/6568 Reviewed-by: sterni <sternenseemann@systemli.org> Tested-by: BuildkiteCI
This commit is contained in:
		
							parent
							
								
									477015cfe3
								
							
						
					
					
						commit
						6fdf55a975
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -147,8 +147,8 @@ impl Compiler<'_, '_> { | |||
|         // TODO: multi-select instruction to avoid re-pushing attrs on
 | ||||
|         // nested selects.
 | ||||
|         for fragment in path.attrs() { | ||||
|             self.compile_attr(slot, fragment); | ||||
|             self.push_op(OpCode::OpAttrsSelect, &node); | ||||
|             self.compile_attr(slot, fragment.clone()); | ||||
|             self.push_op(OpCode::OpAttrsSelect, &fragment); | ||||
|         } | ||||
|     } | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue