Closed PhilipVinc closed 2 weeks ago
I recently noticed that for some reason a test case I had added in #119 that previously did not pass test, now pass.
The test is that the following raises an AmbiguousLookupError
AmbiguousLookupError
def f(x : int, *y: A): pass def f(x: int, *y : B): pass f(1)
I would like to add this to the test set of plum just so that it's included.
Note that #117 is still not solved as we still do not pass this other test
assert Sig(int, varargs=int) < Sig(int, Num)
but that's a step in the right direction...
Thanks, this looks great! :) Merging right away.
I recently noticed that for some reason a test case I had added in #119 that previously did not pass test, now pass.
The test is that the following raises an
AmbiguousLookupError
I would like to add this to the test set of plum just so that it's included.
Note that #117 is still not solved as we still do not pass this other test
but that's a step in the right direction...