Skip to content

Commit b8bac20

Browse files
committed
Merge pull request #1102 from practicalswift/typo-fixes-20160126
[gardening] Fix recently introduced typo: "polymorhpic" → "polymorphic"
2 parents b939fde + deadb2b commit b8bac20

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lib/IDE/ReconstructType.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -119,12 +119,12 @@ GetTemplateArgument (swift::TypeBase* type,
119119
}
120120
case swift::TypeKind::PolymorphicFunction:
121121
{
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)
124124
break;
125-
if (arg_idx >= polymorhpic_func_type->getGenericParameters().size())
125+
if (arg_idx >= polymorphic_func_type->getGenericParameters().size())
126126
break;
127-
return polymorhpic_func_type->getGenericParameters()[arg_idx]->getArchetype();
127+
return polymorphic_func_type->getGenericParameters()[arg_idx]->getArchetype();
128128
}
129129
break;
130130
default:

0 commit comments

Comments
 (0)