diff options
author | Florian Klink <flokli@flokli.de> | 2024-05-16T22·01+0200 |
---|---|---|
committer | flokli <flokli@flokli.de> | 2024-05-20T06·52+0000 |
commit | d4978521b01e76b573f81d8c69e607cf6fdee986 (patch) | |
tree | 0a5fa287b9f62c2fdc1814b4076eb5873c16cb89 /tvix/store/src/pathinfoservice/tests | |
parent | 37cebd233fefd6a6dcdc04788985da76598614cd (diff) |
fix(tvix/eval): use fake values for __curPos, rather than an error r/8156
Have this return the same values as builtins.unsafeGetAttrsPos, rather than returning a CatchableErrorKind, which crashes the CLI if it bubbles up. The environment we're in doesn't allow emitting a warning, as we don't have `co` in scope, but that's probably OK as a stopgap solution. Alternative to cl/11665. Change-Id: I5b2c2530842547c93b6533ed9601ee9b2923b1bf Reviewed-on: https://cl.tvl.fyi/c/depot/+/11685 Autosubmit: flokli <flokli@flokli.de> Tested-by: BuildkiteCI Reviewed-by: tazjin <tazjin@tvl.su>
Diffstat (limited to 'tvix/store/src/pathinfoservice/tests')
0 files changed, 0 insertions, 0 deletions