fix null pointer exception in ruby visitor
This commit is contained in:
parent
68a5dccf66
commit
c09675c980
|
@ -243,7 +243,7 @@ public class JRubyVisitor extends NoopVisitor {
|
|||
@Override
|
||||
public Object visitDAsgnNode(DAsgnNode node) {
|
||||
context.foundVarDefinition(helper.getScopeOfVar(node,context), node.getName(),node.getPosition().getStartLine()+1);
|
||||
expressionUsage.foundExpression(node.getValue());
|
||||
expressionUsage.foundExpression(node);
|
||||
return super.visitDAsgnNode(node);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue