fix(tvix/eval): context-aware… hasContext
Yes, `hasContext e` should work where `e` is a contextful strings, otherwise, it is really useless. Change-Id: I5eb071fc257217d6e8a63fe519132ebd98186696 Reviewed-on: https://cl.tvl.fyi/c/depot/+/10617 Tested-by: BuildkiteCI Reviewed-by: flokli <flokli@flokli.de>
This commit is contained in:
parent
bc8fb825c7
commit
c2d0e245e2
1 changed files with 1 additions and 1 deletions
|
@ -680,7 +680,7 @@ mod pure_builtins {
|
|||
return Ok(e);
|
||||
}
|
||||
|
||||
let v = e.to_str()?;
|
||||
let v = e.to_contextful_str()?;
|
||||
Ok(Value::Bool(v.has_context()))
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue