From 6020fc216bd327d1cb6f7b2d6d58020bc26382ae Mon Sep 17 00:00:00 2001 From: Wojciech Lopata Date: Wed, 27 Feb 2013 17:40:26 +0100 Subject: [PATCH] Minor fix in JetNamedFunction This caused NullPointerException while running JetParsingTest when I changed some test. --- .../src/org/jetbrains/jet/lang/psi/JetNamedFunction.java | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/compiler/frontend/src/org/jetbrains/jet/lang/psi/JetNamedFunction.java b/compiler/frontend/src/org/jetbrains/jet/lang/psi/JetNamedFunction.java index 58e7b06ff8e..fa8ccb57da3 100644 --- a/compiler/frontend/src/org/jetbrains/jet/lang/psi/JetNamedFunction.java +++ b/compiler/frontend/src/org/jetbrains/jet/lang/psi/JetNamedFunction.java @@ -29,6 +29,7 @@ import org.jetbrains.jet.JetNodeTypes; import org.jetbrains.jet.lang.psi.stubs.PsiJetFunctionStub; import org.jetbrains.jet.lang.psi.stubs.elements.JetStubElementTypes; import org.jetbrains.jet.lang.resolve.name.FqName; +import org.jetbrains.jet.lang.resolve.name.Name; import org.jetbrains.jet.lexer.JetTokens; import java.util.Collections; @@ -83,7 +84,7 @@ public class JetNamedFunction extends JetTypeParameterListOwnerStub