The raises list can now use expressions referencing the generic params

This commit is contained in:
Zahary Karadjov
2020-04-01 04:01:25 +03:00
committed by Andreas Rumpf
parent be95f8fdfa
commit 08afa03075
4 changed files with 16 additions and 5 deletions

View File

@@ -104,6 +104,8 @@ type
semTryExpr*: proc (c: PContext, n: PNode, flags: TExprFlags = {}): PNode {.nimcall.}
semTryConstExpr*: proc (c: PContext, n: PNode): PNode {.nimcall.}
computeRequiresInit*: proc (c: PContext, t: PType): bool {.nimcall.}
hasUnresolvedArgs*: proc (c: PContext, n: PNode): bool
semOperand*: proc (c: PContext, n: PNode, flags: TExprFlags = {}): PNode {.nimcall.}
semConstBoolExpr*: proc (c: PContext, n: PNode): PNode {.nimcall.} # XXX bite the bullet
semOverloadedCall*: proc (c: PContext, n, nOrig: PNode,