attempt to make tests green again
This commit is contained in:
parent
e21ca54b11
commit
0b79a2b02e
1 changed files with 2 additions and 1 deletions
|
|
@ -522,7 +522,8 @@ proc procVarcheck(n: PNode) =
|
|||
|
||||
proc notNilCheck(tracked: PEffects, n: PNode, paramType: PType) =
|
||||
let n = n.skipConv
|
||||
procVarcheck skipConvAndClosure(n)
|
||||
if paramType.isNil or paramType.kind != tyTypeDesc:
|
||||
procVarcheck skipConvAndClosure(n)
|
||||
#elif n.kind in nkSymChoices:
|
||||
# echo "came here"
|
||||
if paramType != nil and tfNotNil in paramType.flags and
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue