File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -119,12 +119,12 @@ GetTemplateArgument (swift::TypeBase* type,
119
119
}
120
120
case swift::TypeKind::PolymorphicFunction:
121
121
{
122
- swift::PolymorphicFunctionType *polymorhpic_func_type = swift_can_type->getAs <swift::PolymorphicFunctionType>();
123
- if (!polymorhpic_func_type )
122
+ swift::PolymorphicFunctionType *polymorphic_func_type = swift_can_type->getAs <swift::PolymorphicFunctionType>();
123
+ if (!polymorphic_func_type )
124
124
break ;
125
- if (arg_idx >= polymorhpic_func_type ->getGenericParameters ().size ())
125
+ if (arg_idx >= polymorphic_func_type ->getGenericParameters ().size ())
126
126
break ;
127
- return polymorhpic_func_type ->getGenericParameters ()[arg_idx]->getArchetype ();
127
+ return polymorphic_func_type ->getGenericParameters ()[arg_idx]->getArchetype ();
128
128
}
129
129
break ;
130
130
default :
You can’t perform that action at this time.
0 commit comments