Rollup merge of #155686 - Walnut356:array_type, r=jieyouxu

Fix array template arg lookup behavior

Minor logic error. `get_template_args` expects a matching `<`/`>` pair. We were passing in an array type with the beginning `<` removed, so the template arg behavior would fail.
This commit is contained in:
Trevor Gross
2026-04-23 20:32:51 -04:00
committed by GitHub
-2
View File
@@ -233,8 +233,6 @@ def resolve_msvc_template_arg(arg_name: str, target: SBTarget) -> SBType:
return result.GetPointerType()
if arg_name.startswith("array$<"):
arg_name = arg_name[7:-1].strip()
template_args = get_template_args(arg_name)
element_name = next(template_args)