diff options
author | Griffin Smith <root@gws.fyi> | 2022-09-18T20·53-0400 |
---|---|---|
committer | grfn <grfn@gws.fyi> | 2022-09-18T22·33+0000 |
commit | 69cbcc1eda13400d24dcb580713453bcba00fcc3 (patch) | |
tree | 6c92913c72e76b25b93d4b8aba31e729712558cf /third_party/gerrit-queue/misc/rotatingloghandler.go | |
parent | bcbe1603c8d50b69705fb737961b6a4827a50591 (diff) |
refactor(tvix/eval): Simplify forcing in builtins r/4914
Refactor the `force!` macro to a method on `Value` which returns a smart-pointer-esque type, which simplifies the callsite and eliminates rightward drift, especially for high-arity builtins. Change-Id: I97a7837580accfb4bbd03b24f2acdbd38645efa5 Reviewed-on: https://cl.tvl.fyi/c/depot/+/6656 Autosubmit: grfn <grfn@gws.fyi> Reviewed-by: tazjin <tazjin@tvl.su> Tested-by: BuildkiteCI
Diffstat (limited to 'third_party/gerrit-queue/misc/rotatingloghandler.go')
0 files changed, 0 insertions, 0 deletions