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 94a7b85 commit daf31b4Copy full SHA for daf31b4
mypyc/irbuild/vec.py
@@ -521,7 +521,7 @@ def vec_slice(
521
api_name = vec_api_by_item_type.get(item_type)
522
if api_name is not None:
523
name = f"{api_name}.slice"
524
- elif vec_type.depth() == 0 and not isinstance(item_type, RUnion):
+ elif vec_type.depth() == 0:
525
name = "VecTApi.slice"
526
else:
527
name = "VecNestedApi.slice"
0 commit comments