paulk-asert commented on a change in pull request #1691:
URL: https://github.com/apache/groovy/pull/1691#discussion_r816443569
##########
File path:
src/main/java/org/codehaus/groovy/transform/trait/TraitASTTransformation.java
##########
@@ -498,7 +500,7 @@ private void processField(final FieldNode field, final
MethodNode initializer, f
ClassNode.EMPTY_ARRAY,
returnS(initCode.getExpression())
);
- helper.addMethod(fieldInitializer);
+ ClassNodeUtils.addGeneratedMethod(helper, fieldInitializer);
Review comment:
I am unsure whether this one is needed. The whole helper class is marked
as generated. Does the coverage tool not recognize that?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]