Skip to content

Commit 20babc5

Browse files
[mypyc] Delete outdated TODOs (#10698)
Delete two outdated TODOs.
1 parent 1fcb71e commit 20babc5

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

mypyc/irbuild/ll_builder.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1094,8 +1094,6 @@ def matching_call_c(self,
10941094
args: List[Value],
10951095
line: int,
10961096
result_type: Optional[RType] = None) -> Optional[Value]:
1097-
# TODO: this function is very similar to matching_primitive_op
1098-
# we should remove the old one or refactor both them into only as we move forward
10991097
matching = None # type: Optional[CFunctionDescription]
11001098
for desc in candidates:
11011099
if len(desc.arg_types) != len(args):

mypyc/test-data/run-functions.test

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ def fib(n: int) -> int:
2121
return 1
2222
else:
2323
return fib(n - 1) + fib(n - 2)
24-
return 0 # TODO: This should be unnecessary
2524
[file driver.py]
2625
from native import fib
2726
print(fib(0))

0 commit comments

Comments
 (0)