diff options
Diffstat (limited to 'compiler/sigmatch.nim')
-rwxr-xr-x | compiler/sigmatch.nim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/sigmatch.nim b/compiler/sigmatch.nim index a6c5092b8..5b397167a 100755 --- a/compiler/sigmatch.nim +++ b/compiler/sigmatch.nim @@ -14,7 +14,7 @@ import ast, astalgo, semdata, types, msgs, renderer, lookups, semtypinst, magicsys -type +type TCandidateState* = enum csEmpty, csMatch, csNoMatch TCandidate* {.final.} = object @@ -222,7 +222,7 @@ proc typeRel(mapping: var TIdTable, f, a: PType): TTypeRelation = of tyFloat64: result = handleFloatRange(f, a) of tyFloat128: result = handleFloatRange(f, a) of tyVar: - if (a.kind == f.kind): result = typeRel(mapping, base(f), base(a)) + if a.kind == f.kind: result = typeRel(mapping, base(f), base(a)) else: result = typeRel(mapping, base(f), a) of tyArray, tyArrayConstr: # tyArrayConstr cannot happen really, but |