about summary refs log tree commit diff
path: root/tests/lang/eval-okay-callable-attrs.nix
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lang/eval-okay-callable-attrs.nix')
-rw-r--r--tests/lang/eval-okay-callable-attrs.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/lang/eval-okay-callable-attrs.nix b/tests/lang/eval-okay-callable-attrs.nix
new file mode 100644
index 000000000000..310a030df004
--- /dev/null
+++ b/tests/lang/eval-okay-callable-attrs.nix
@@ -0,0 +1 @@
+({ __functor = self: x: self.foo && x; foo = false; } // { foo = true; }) true