Skip to content

Commit e1d5197

Browse files
committed
.
1 parent 1ab1f16 commit e1d5197

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

mypyc/irbuild/statement.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -995,6 +995,7 @@ def _transform_with_contextmanager(
995995
wrapped_call = mypy.nodes.CallExpr(
996996
mypy.nodes.MemberExpr(expr.callee, "__wrapped__"), expr.args, expr.arg_kinds, expr.arg_names
997997
)
998+
wrapped_call.line = line
998999
gen = builder.accept(wrapped_call)
9991000

10001001
# try:

0 commit comments

Comments
 (0)