Skip to content

Commit 3ec279a

Browse files
committed
Convert type to str before appending
1 parent 3d918b3 commit 3ec279a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ir/type_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -611,7 +611,7 @@ def _compute_type_variable_assignments(
611611
t_bound = v
612612
assert t_bound is not None, (
613613
"Cannot find assignment for the bound of "
614-
"type parameter " + t_param
614+
"type parameter " + str(t_param)
615615
)
616616

617617
if t_bound.is_wildcard() and t_bound.is_contravariant():

0 commit comments

Comments
 (0)