diff options
Diffstat (limited to 'tvix/eval/src/tests/tvix_tests/eval-okay-inherit-string-ident.nix')
-rw-r--r-- | tvix/eval/src/tests/tvix_tests/eval-okay-inherit-string-ident.nix | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tvix/eval/src/tests/tvix_tests/eval-okay-inherit-string-ident.nix b/tvix/eval/src/tests/tvix_tests/eval-okay-inherit-string-ident.nix new file mode 100644 index 000000000000..75794d33379c --- /dev/null +++ b/tvix/eval/src/tests/tvix_tests/eval-okay-inherit-string-ident.nix @@ -0,0 +1,8 @@ +# identifiers in inherits can be string-like expressions + +let + set = { + inherit ({ value = 42; }) "value"; + }; +in +set.value |