From e19095ef128f53644bc7650094d8924633c79efa Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 23 Nov 2016 16:53:31 +0200 Subject: Implement value type propagation on expansion Currently, we only propagate types of sole, unquoted expansions (variable, function call, or eval context), similar to NULL. To untypify the value, simply quote it. --- tests/variable/dir-path/buildfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/variable') diff --git a/tests/variable/dir-path/buildfile b/tests/variable/dir-path/buildfile index 5c99f07..c6fdb46 100644 --- a/tests/variable/dir-path/buildfile +++ b/tests/variable/dir-path/buildfile @@ -27,7 +27,7 @@ print [strings] -I $y print -I $y/baz print -z = [strings] $x # Re-typed. +z = [strings] "$x" # Re-typed. print $z print @@ -37,9 +37,9 @@ r = [dir_path] / print $r/foo r += foo -print [strings] $r +print [strings] "$r" r += bar -print [strings] $r +print [strings] "$r" ./: -- cgit v1.1