parent
75c586bbe1
commit
a8ba628bcd
5 changed files with 97 additions and 184 deletions
|
|
@ -982,8 +982,6 @@ proc matchTypeClass*(bindings: var TIdTable, typeClass, t: PType): bool =
|
|||
# if the loop finished without returning, either all constraints matched
|
||||
# or none of them matched.
|
||||
result = if tfAny in typeClass.flags: false else: true
|
||||
if result == true:
|
||||
IdTablePut(bindings, typeClass, t)
|
||||
|
||||
proc matchTypeClass*(typeClass, typ: PType): bool =
|
||||
var bindings: TIdTable
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue