first steps to deprecate 'nil' statement
This commit is contained in:
parent
46f652b93e
commit
d3d9d32c35
9 changed files with 34 additions and 36 deletions
|
|
@ -121,9 +121,6 @@ proc matchNested(c: PPatternContext, p, n: PNode, rpn: bool): bool =
|
|||
add(arglist, n)
|
||||
else:
|
||||
result = false
|
||||
debug p.sons[2].sym.typ
|
||||
debug n.typ
|
||||
echo "type check failed!"
|
||||
|
||||
if n.kind notin nkCallKinds: return false
|
||||
if matches(c, p.sons[1], n.sons[0]):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue