Skip to content

Commit dad009a

Browse files
committed
Fix
1 parent 4b72e63 commit dad009a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

mypyc/irbuild/function.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -361,8 +361,8 @@ def gen_func_ir(
361361
builder.module_name,
362362
sig,
363363
func_decl.kind,
364-
func_decl.is_prop_getter,
365-
func_decl.is_prop_setter,
364+
is_prop_getter=func_decl.is_prop_getter,
365+
is_prop_setter=func_decl.is_prop_setter,
366366
)
367367
func_ir = FuncIR(func_decl, args, blocks, fitem.line, traceback_name=fitem.name)
368368
else:

mypyc/test-data/run-async.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1293,7 +1293,7 @@ def get_running_loop() -> Any: ...
12931293
def create_task(x: object) -> Any: ...
12941294

12951295
[case testAsyncInheritance1]
1296-
from typing import final, Coroutine, Any
1296+
from typing import final, Coroutine, Any, TypeVar
12971297

12981298
import asyncio
12991299

0 commit comments

Comments
 (0)