Fixed method hasTypeParameterListBeforeFunctionName in JetNamedFunction
This commit is contained in:
@@ -63,7 +63,7 @@ public class JetNamedFunction extends JetTypeParameterListOwnerStub<KotlinFuncti
|
||||
}
|
||||
PsiElement nameIdentifier = getNameIdentifier();
|
||||
if (nameIdentifier == null) {
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
return nameIdentifier.getTextOffset() > typeParameterList.getTextOffset();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user