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. --- build2/functions-process-path.cxx | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'build2/functions-process-path.cxx') diff --git a/build2/functions-process-path.cxx b/build2/functions-process-path.cxx index 7069c33..a1d6d7c 100644 --- a/build2/functions-process-path.cxx +++ b/build2/functions-process-path.cxx @@ -21,15 +21,5 @@ namespace build2 { return move (p.effect.empty () ? p.recall : p.effect); }; - - //@@ TMP kludge - // - f["effect"] = [](names n) - { - auto p (value_traits::convert ( - move (n[0]), n.size () > 1 ? &n[1] : nullptr)); - - return move (p.effect.empty () ? p.recall : p.effect); - }; } } -- cgit v1.1