tsigtypeop.nim works again
This commit is contained in:
parent
975f33b01d
commit
fce2ff161e
3 changed files with 3 additions and 3 deletions
|
|
@ -1187,8 +1187,7 @@ proc paramTypesMatchAux(m: var TCandidate, f, argType: PType,
|
|||
|
||||
if argType.kind == tyStatic:
|
||||
if m.callee.kind == tyGenericBody and tfGenericTypeParam notin argType.flags:
|
||||
result = newNodeI(nkType, argOrig.info)
|
||||
result.typ = makeTypeFromExpr(c, arg)
|
||||
result = newNodeIT(nkType, argOrig.info, makeTypeFromExpr(c, arg))
|
||||
return
|
||||
else:
|
||||
var evaluated = c.semTryConstExpr(c, arg)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue