Skip to content

Commit

Permalink
fix infinite recursive call in cucumber6jvm (via #498)
Browse files Browse the repository at this point in the history
  • Loading branch information
MetallFoX authored Dec 16, 2020
1 parent f046ca4 commit df22170
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ public AstNode getAstNode(final URI path, final int line) {
}

private AstNode createAstNode(final GeneratedMessageV3 node, final AstNode astNode) {
return createAstNode(node, astNode);
return new AstNode(node, astNode);
}

private static class AstNode {
Expand Down

0 comments on commit df22170

Please sign in to comment.