Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix implementation
  • Loading branch information
esarp committed Apr 15, 2026
commit c9ae0227dae890625dc85f673c3ab838b405e7f2
4 changes: 2 additions & 2 deletions mypyc/irbuild/specialize.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
string_writer_rprimitive,
uint8_rprimitive,
)
from mypyc.irbuild.builder import IRBuilder
from mypyc.irbuild.builder import IRBuilder, get_call_target_fullname
from mypyc.irbuild.constant_fold import constant_fold_expr
from mypyc.irbuild.for_helpers import (
comprehension_helper,
Expand Down Expand Up @@ -198,7 +198,7 @@ def apply_function_specialization(
builder: IRBuilder, expr: CallExpr, callee: RefExpr
) -> Value | None:
"""Invoke the Specializer callback for a function if one has been registered"""
return _apply_specialization(builder, expr, callee, callee.fullname)
return _apply_specialization(builder, expr, callee, get_call_target_fullname(callee))


def apply_method_specialization(
Expand Down
Loading