add comment
This commit is contained in:
parent
1b7cf3df51
commit
746da12d74
1 changed files with 1 additions and 0 deletions
|
|
@ -2369,6 +2369,7 @@ proc argtypeMatches*(c: PContext, f, a: PType, from_hlo = false): bool =
|
|||
if not from_hlo:
|
||||
res != nil
|
||||
else:
|
||||
# pattern templates do not allow for conversions except from int literal
|
||||
res != nil and m.convMatches == 0 and m.intConvMatches in [0, 256]
|
||||
|
||||
proc instTypeBoundOp*(c: PContext; dc: PSym; t: PType; info: TLineInfo;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue