Skip to content

Commit c9ae022

Browse files
committed
Fix implementation
1 parent ee10f39 commit c9ae022

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mypyc/irbuild/specialize.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@
8484
string_writer_rprimitive,
8585
uint8_rprimitive,
8686
)
87-
from mypyc.irbuild.builder import IRBuilder
87+
from mypyc.irbuild.builder import IRBuilder, get_call_target_fullname
8888
from mypyc.irbuild.constant_fold import constant_fold_expr
8989
from mypyc.irbuild.for_helpers import (
9090
comprehension_helper,
@@ -198,7 +198,7 @@ def apply_function_specialization(
198198
builder: IRBuilder, expr: CallExpr, callee: RefExpr
199199
) -> Value | None:
200200
"""Invoke the Specializer callback for a function if one has been registered"""
201-
return _apply_specialization(builder, expr, callee, callee.fullname)
201+
return _apply_specialization(builder, expr, callee, get_call_target_fullname(callee))
202202

203203

204204
def apply_method_specialization(

0 commit comments

Comments
 (0)