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. --- unit-tests/function/call.test | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'unit-tests/function/call.test') diff --git a/unit-tests/function/call.test b/unit-tests/function/call.test index 003a828..2b91cc3 100644 --- a/unit-tests/function/call.test +++ b/unit-tests/function/call.test @@ -80,11 +80,11 @@ $* <'print $optional(abc)' >'false' : null-true : -$* <'print $null([null])' >'true' +$* <'print $nullable([null])' >'true' : null-false : -$* <'print $null(nonull)' >'false' +$* <'print $nullable(nonull)' >'false' : null-fail : -- cgit v1.1