Revert "fix #15836 proc arg return type auto unexpectly match proc with concr… (#21044)"
This reverts commit 0cd9bdcf9f.
This commit is contained in:
parent
da3274d1b3
commit
db56fc3bcb
9 changed files with 12 additions and 23 deletions
|
|
@ -2047,9 +2047,6 @@ template detailedInfo*(sym: PSym): string =
|
|||
proc isInlineIterator*(typ: PType): bool {.inline.} =
|
||||
typ.kind == tyProc and tfIterator in typ.flags and typ.callConv != ccClosure
|
||||
|
||||
proc isIterator*(typ: PType): bool {.inline.} =
|
||||
typ.kind == tyProc and tfIterator in typ.flags
|
||||
|
||||
proc isClosureIterator*(typ: PType): bool {.inline.} =
|
||||
typ.kind == tyProc and tfIterator in typ.flags and typ.callConv == ccClosure
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue