Skip to content

Commit

Permalink
Regenerate JavaScriptValidator for J.Lambda.Parameters
Browse files Browse the repository at this point in the history
The `J.Lambda.Parameters` type extends `J` but has no dedicated `visit` method and thus that subtree was skipped by the validator.
  • Loading branch information
knutwannheden committed Nov 23, 2024
1 parent 5448d17 commit 71d7fdd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -570,7 +570,7 @@ public J.Label visitLabel(J.Label label, P p) {

@Override
public J.Lambda visitLambda(J.Lambda lambda, P p) {
visitAndValidate(lambda.getParameters(), J.Lambda.Parameters.class, p);
visitAndValidate(lambda.getParameters().getParameters(), J.class, p);
visitAndValidate(lambda.getBody(), J.class, p);
return lambda;
}
Expand Down

0 comments on commit 71d7fdd

Please sign in to comment.