240d90aa8a
As the new test case demonstrates, asserts need to be evaluated lazily. Change-Id: I808046722c5a504e9497855ca5026d255c7a4c34 Reviewed-on: https://cl.tvl.fyi/c/depot/+/6494 Tested-by: BuildkiteCI Reviewed-by: tazjin <tazjin@tvl.su> Reviewed-by: sterni <sternenseemann@systemli.org>
8 lines
75 B
Nix
8 lines
75 B
Nix
assert true;
|
|
|
|
let
|
|
x = assert false; 13;
|
|
y = 12;
|
|
in
|
|
|
|
{ inherit x y; }.y
|