This commit is contained in:
Andreas Rumpf 2019-06-26 23:15:44 +02:00
commit 19b142401c
2 changed files with 39 additions and 2 deletions

View file

@ -186,7 +186,7 @@ proc isPartOf*(a, b: PNode): TAnalysisResult =
if res != arNo:
result = res
if res == arYes: break
of nkCall:
of nkCallKinds:
result = arNo
for i in 1 ..< b.len:
let res = isPartOf(a, b[i])