We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0f8c2f7 commit 6e8b738Copy full SHA for 6e8b738
mypyc/irbuild/specialize.py
@@ -147,7 +147,7 @@ def apply_function_specialization(
147
# and isinstance(callee.node, Var)
148
# NOTE: why is this not a weakref rprimitive?
149
# TODO: fix to weakref rprimitive so _apply_specialization can use the custom_op
150
- and is_weakref_rprimitive(builder.node_type(callee.node))
+ and is_weakref_rprimitive(builder.node_type(callee))
151
# and str(callee.node.type).startswith("weakref.ReferenceType")
152
and len(expr.args) == 0
153
):
0 commit comments