diff options
author | Araq <rumpf_a@web.de> | 2012-12-03 21:48:12 +0100 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2012-12-03 21:48:12 +0100 |
commit | 08342240709690f81286aea207a037348e46f635 (patch) | |
tree | 7748a5e52cb768b482248562902ae0f92f2a4c31 /compiler/sigmatch.nim | |
parent | 8948a97151fc000414aee7cd4064881ef646a26c (diff) | |
download | Nim-08342240709690f81286aea207a037348e46f635.tar.gz |
disable SSLv2_method for ubuntu
Diffstat (limited to 'compiler/sigmatch.nim')
-rwxr-xr-x | compiler/sigmatch.nim | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/compiler/sigmatch.nim b/compiler/sigmatch.nim index 799622355..8913b6d5d 100755 --- a/compiler/sigmatch.nim +++ b/compiler/sigmatch.nim @@ -837,10 +837,10 @@ proc matchesAux*(c: PContext, n, nOrig: PNode, m.baseTypeMatch = false var arg = ParamTypesMatch(c, m, formal.typ, n.sons[a].typ, n.sons[a], nOrig.sons[a]) - if arg == nil: + if arg == nil: m.state = csNoMatch - return - if m.baseTypeMatch: + return + if m.baseTypeMatch: assert(container == nil) container = newNodeI(nkBracket, n.sons[a].info) addSon(container, arg) |