more function overloading
authorRobert Bradshaw <robertwb@math.washington.edu>
Thu, 9 Jul 2009 08:16:48 +0000 (01:16 -0700)
committerRobert Bradshaw <robertwb@math.washington.edu>
Thu, 9 Jul 2009 08:16:48 +0000 (01:16 -0700)
Cython/Compiler/ExprNodes.py

index acb907c138e5216891b263eba0674853e70dcdce..119c3d0e4bc8f1422812048001b12dcef035bf27 100755 (executable)
@@ -2418,8 +2418,9 @@ class SimpleCallNode(CallNode):
                     else:
                         score[0] += 1
                 else:
-                    continue
-            possibilities.append((score, entry)) # so we can sort it
+                    break
+            else:
+                possibilities.append((score, entry)) # so we can sort it
         if len(possibilities):
             possibilities.sort()
             if len(possibilities) > 1 and possibilities[0][0] == possibilities[1][0]: