diff options
Diffstat (limited to 'src/util.cpp')
-rw-r--r-- | src/util.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/util.cpp b/src/util.cpp index d387b02..3567f5f 100644 --- a/src/util.cpp +++ b/src/util.cpp @@ -1933,12 +1933,10 @@ static bool matchArgument2( dstA.canType=""; // invalidate cached type value } - if (srcA.canType.isEmpty()) + if (srcA.canType.isEmpty() || dstA.canType.isEmpty()) { + // need to re-evaluate both see issue #8370 srcA.canType = extractCanonicalArgType(srcScope,srcFileScope,srcA); - } - if (dstA.canType.isEmpty()) - { dstA.canType = extractCanonicalArgType(dstScope,dstFileScope,dstA); } |