This website requires JavaScript.
Explore
Help
Sign In
cafkafk
/
lix
Watch
1
Star
0
Fork
You've already forked lix
0
Code
Issues
Pull requests
1
Projects
Releases
Packages
Wiki
Activity
Actions
2b8f33bf5f
lix
/
tests
/
lang
/
eval-fail-bad-antiquote-3.nix
2 lines
12 B
Nix
Raw
Normal View
History
Unescape
Escape
Add a test for type correctness of antiquotes Antiquotes should evaluate to strings or paths. This is usually checked, except in the case where the antiquote makes up the entire string, as in "${expr}". This is optimised to expr, which discards the runtime type checks / coercions.
2013-10-17 00:45:16 +02:00
''
${
x
:
x
}
''
Reference in a new issue
Copy permalink