diff options
Diffstat (limited to 'tvix/eval/src/tests/tvix_tests/eval-okay-thunked-functor.nix')
-rw-r--r-- | tvix/eval/src/tests/tvix_tests/eval-okay-thunked-functor.nix | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tvix/eval/src/tests/tvix_tests/eval-okay-thunked-functor.nix b/tvix/eval/src/tests/tvix_tests/eval-okay-thunked-functor.nix new file mode 100644 index 000000000000..f8eba2ac2fc0 --- /dev/null +++ b/tvix/eval/src/tests/tvix_tests/eval-okay-thunked-functor.nix @@ -0,0 +1,7 @@ +let + __functor = f; + f = self: x: self.out * x; +in { + inherit __functor; + out = 21; +} 2 |