This website requires JavaScript.
Explore
Help
Sign In
picnoir
/
nix-gh
Watch
1
Star
0
Fork
You've already forked nix-gh
0
Code
Issues
Pull Requests
Releases
Wiki
Activity
5038e1bec4
nix-gh
/
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
}
''