mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
EA-26590 - assert: AbstractClosureParameterEnhancer.getVariableType
This commit is contained in:
+1
-6
@@ -83,9 +83,4 @@ public class ClosureSyntheticParameter extends GrLightParameter implements Navig
|
||||
public GrExpression getDefaultInitializer() {
|
||||
return GroovyPsiElementFactory.getInstance(getProject()).createExpressionFromText("null");
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isValid() {
|
||||
return myClosure.isValid();
|
||||
}
|
||||
}
|
||||
}
|
||||
+5
@@ -92,4 +92,9 @@ public class GrLightParameter extends LightParameter implements GrParameter {
|
||||
public void acceptChildren(GroovyElementVisitor visitor) {
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isValid() {
|
||||
return getDeclarationScope().isValid();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user