lix/tests/functional/lang/eval-okay-tryeval.nix

6 lines
114 B
Nix
Raw Permalink Normal View History

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