diff --git a/mypyc/irbuild/ll_builder.py b/mypyc/irbuild/ll_builder.py index ef2e482e45c2..5b364d0319d7 100644 --- a/mypyc/irbuild/ll_builder.py +++ b/mypyc/irbuild/ll_builder.py @@ -1083,8 +1083,6 @@ def matching_call_c(self, args: List[Value], line: int, result_type: Optional[RType] = None) -> Optional[Value]: - # TODO: this function is very similar to matching_primitive_op - # we should remove the old one or refactor both them into only as we move forward matching = None # type: Optional[CFunctionDescription] for desc in candidates: if len(desc.arg_types) != len(args): diff --git a/mypyc/test-data/run-functions.test b/mypyc/test-data/run-functions.test index 481d8d6425bc..ba1dbb14cd89 100644 --- a/mypyc/test-data/run-functions.test +++ b/mypyc/test-data/run-functions.test @@ -21,7 +21,6 @@ def fib(n: int) -> int: return 1 else: return fib(n - 1) + fib(n - 2) - return 0 # TODO: This should be unnecessary [file driver.py] from native import fib print(fib(0))