aboutsummaryrefslogtreecommitdiff
path: root/tests/lang/eval-fail-bad-antiquote-3.nix
AgeCommit message (Collapse)Author
2013-10-17Add a test for type correctness of antiquotesEelco Dolstra
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.