From 84f753750f87d31bc63916bc317fa0c1c05ebe65 Mon Sep 17 00:00:00 2001 From: Ivan Bondarev Date: Sun, 21 Feb 2021 12:44:06 +0100 Subject: [PATCH] #2436 --- TreeConverter/TreeConversion/convertion_data_and_alghoritms.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TreeConverter/TreeConversion/convertion_data_and_alghoritms.cs b/TreeConverter/TreeConversion/convertion_data_and_alghoritms.cs index 36d0e34b8..9fbd1e32d 100644 --- a/TreeConverter/TreeConversion/convertion_data_and_alghoritms.cs +++ b/TreeConverter/TreeConversion/convertion_data_and_alghoritms.cs @@ -1727,7 +1727,7 @@ namespace PascalABCCompiler.TreeConverter exprs[i].type = fn.parameters[fn.parameters.Count - 1].type; break; } - if ((ptcal[i] == null) || (ptcal[i].first == null) || (exprs[i] is null_const_node && exprs[i].type is null_type_node)) + if ((ptcal[i] == null) || (ptcal[i].first == null) || (exprs[i] is null_const_node && exprs[i].conversion_type == null)) { continue; }