test CI
This commit is contained in:
parent
8266750497
commit
10b6e4f5b4
2 changed files with 7 additions and 2 deletions
|
|
@ -807,7 +807,8 @@ proc tryResolvingStaticExpr(c: var TCandidate, n: PNode,
|
|||
# N is bound to a concrete value during the matching of the first param.
|
||||
# This proc is used to evaluate such static expressions.
|
||||
let instantiated = replaceTypesInBody(c.c, c.bindings, n, nil,
|
||||
allowMetaTypes = allowUnresolved)
|
||||
allowMetaTypes = allowUnresolved,
|
||||
fromStaticExpr = true)
|
||||
result = c.c.semExpr(c.c, instantiated)
|
||||
|
||||
proc inferStaticParam*(c: var TCandidate, lhs: PNode, rhs: BiggestInt): bool =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue