lix-releng-staging/tests/lang/eval-okay-tryeval.nix

6 lines
114 B
Nix
Raw Normal View History

{
x = builtins.tryEval "x";
y = builtins.tryEval (assert false; "y");
z = builtins.tryEval (throw "bla");
}