Commit 71805ed5 authored by Robert Bradshaw's avatar Robert Bradshaw

Note about best_match function.

parent 615af2d1
...@@ -2233,6 +2233,7 @@ def best_match(args, functions, pos=None): ...@@ -2233,6 +2233,7 @@ def best_match(args, functions, pos=None):
Finds the best function to be called Finds the best function to be called
Error if no function fits the call or an ambiguity is find (two or more possible functions) Error if no function fits the call or an ambiguity is find (two or more possible functions)
""" """
# TODO: args should be a list of types, not a list of Nodes.
actual_nargs = len(args) actual_nargs = len(args)
possibilities = [] possibilities = []
bad_types = 0 bad_types = 0
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment