fixes #797; generic procs can be used in places expecting matching concrete proc types
This commit is contained in:
parent
e8c87d070a
commit
a158053ae9
5 changed files with 80 additions and 29 deletions
|
|
@ -81,6 +81,8 @@ type
|
|||
semOverloadedCall*: proc (c: PContext, n, nOrig: PNode,
|
||||
filter: TSymKinds): PNode {.nimcall.}
|
||||
semTypeNode*: proc(c: PContext, n: PNode, prev: PType): PType {.nimcall.}
|
||||
semGenerateInstance*: proc (c: PContext, fn: PSym, pt: TIdTable,
|
||||
info: TLineInfo): PSym
|
||||
includedFiles*: TIntSet # used to detect recursive include files
|
||||
userPragmas*: TStrTable
|
||||
evalContext*: PEvalContext
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue