summary refs log tree commit diff
path: root/tests/lang/eval-okay-tryeval.nix
blob: 629bc440a85af4c8d2b9b84ce70e63903b260800 (plain) (blame)
1
2
3
4
5
{
  x = builtins.tryEval "x";
  y = builtins.tryEval (assert false; "y");
  z = builtins.tryEval (throw "bla");
}