mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-15 02:59:33 +07:00
report unsupported statements
This commit is contained in:
@@ -228,6 +228,7 @@ public class EvaluatorBuilderImpl implements EvaluatorBuilder {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void visitStatement(PsiStatement statement) {
|
public void visitStatement(PsiStatement statement) {
|
||||||
|
LOG.error(DebuggerBundle.message("evaluation.error.statement.not.supported", statement.getText()));
|
||||||
throwEvaluateException(DebuggerBundle.message("evaluation.error.statement.not.supported", statement.getText()));
|
throwEvaluateException(DebuggerBundle.message("evaluation.error.statement.not.supported", statement.getText()));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -114,8 +114,8 @@ evaluation.error.lebeled.loops.not.found=No loop statements labeled with label '
|
|||||||
evaluation.error.reference.type.expected=Reference type expected
|
evaluation.error.reference.type.expected=Reference type expected
|
||||||
evaluation.error.variable.not.declared=Variable ''{0}'' is not declared
|
evaluation.error.variable.not.declared=Variable ''{0}'' is not declared
|
||||||
evaluation.error.variable.already.declared=Variable ''{0}'' is already declared
|
evaluation.error.variable.already.declared=Variable ''{0}'' is already declared
|
||||||
evaluation.error.operation.not.supported=Operation ''{0}'' not supported
|
evaluation.error.operation.not.supported=Operation ''{0}'' is not supported
|
||||||
evaluation.error.statement.not.supported=Statement ''{0}'' not supported
|
evaluation.error.statement.not.supported=Statement ''{0}'' is not supported
|
||||||
evaluation.error.incompatible.variable.initializer.type=Initializer for ''{0}'' has incompatible type
|
evaluation.error.incompatible.variable.initializer.type=Initializer for ''{0}'' has incompatible type
|
||||||
evaluation.error.local.variable.missing.from.class.closure=Local variable ''{0}'' not found in class closure
|
evaluation.error.local.variable.missing.from.class.closure=Local variable ''{0}'' not found in class closure
|
||||||
evaluation.error.local.variable.missing=Cannot find local variable ''{0}''
|
evaluation.error.local.variable.missing=Cannot find local variable ''{0}''
|
||||||
|
|||||||
Reference in New Issue
Block a user