Fix type in function name and a better name for another function

This commit is contained in:
Nikolay Krasko
2012-06-09 18:34:37 +04:00
parent ba76e1467c
commit e7d625e37c
6 changed files with 7 additions and 7 deletions
@@ -177,7 +177,7 @@ class AlternativeSignatureParsing {
private static JetTypeConstraint findTypeParameterConstraint(@NotNull JetFunction function, @NotNull Name typeParameterName, int index) {
if (index != 0) {
int currentIndex = 0;
for (JetTypeConstraint constraint : function.getTypeConstaints()) {
for (JetTypeConstraint constraint : function.getTypeConstraints()) {
if (typeParameterName.equals(constraint.getSubjectTypeParameterName().getReferencedNameAsName())) {
currentIndex++;
}