feat(tvix/eval): contextful == of derivations
Otherwise, you just fail because they are not... contextless strings! Change-Id: I0b8f63a18cd89c3841b613d41c12ec4ee336f953 Reviewed-on: https://cl.tvl.fyi/c/depot/+/10442 Reviewed-by: tazjin <tazjin@tvl.su> Autosubmit: raitobezarius <tvl@lahfa.xyz> Tested-by: BuildkiteCI
This commit is contained in:
		
							parent
							
								
									207f6fed46
								
							
						
					
					
						commit
						9d43c26576
					
				
					 1 changed files with 6 additions and 2 deletions
				
			
		|  | @ -588,8 +588,12 @@ impl Value { | |||
|                                         .clone() | ||||
|                                         .force(co, span.clone()) | ||||
|                                         .await? | ||||
|                                         .to_str()? | ||||
|                                         == out2.clone().force(co, span.clone()).await?.to_str()?; | ||||
|                                         .to_contextful_str()? | ||||
|                                         == out2 | ||||
|                                             .clone() | ||||
|                                             .force(co, span.clone()) | ||||
|                                             .await? | ||||
|                                             .to_contextful_str()?; | ||||
|                                     if !result { | ||||
|                                         return Ok(Value::Bool(false)); | ||||
|                                     } else { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue