remove nosinks hacks from compiler (#21469)
This commit is contained in:
parent
6994e1b1d7
commit
d950e5f3a8
9 changed files with 13 additions and 13 deletions
|
|
@ -2674,7 +2674,7 @@ proc argtypeMatches*(c: PContext, f, a: PType, fromHlo = false): bool =
|
|||
|
||||
|
||||
proc instTypeBoundOp*(c: PContext; dc: PSym; t: PType; info: TLineInfo;
|
||||
op: TTypeAttachedOp; col: int): PSym {.nosinks.} =
|
||||
op: TTypeAttachedOp; col: int): PSym =
|
||||
var m = newCandidate(c, dc.typ)
|
||||
if col >= dc.typ.len:
|
||||
localError(c.config, info, "cannot instantiate: '" & dc.name.s & "'")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue