Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Comparing changes

Choose two branches to see what's changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
base fork: groovy/groovy-core
head fork: lhotari/groovy-core
Checking mergeability… Don't worry, you can still create the pull request.
  • 1 commit
  • 1 file changed
  • 0 commit comments
  • 1 contributor
2  src/main/org/codehaus/groovy/transform/
@@ -348,7 +348,7 @@ private void createConstructorMapCommon(ClassNode cNode, BlockStatement body) {
if (fNode.isPublic()) continue; // public fields will be rejected elsewhere
if (cNode.getProperty(fNode.getName()) != null) continue; // a property
if (fNode.isFinal() && fNode.isStatic()) continue;
- if (fNode.getName().contains("$")) continue; // internal field
+ if (fNode.isSynthetic() || fNode.getName().contains("$")) continue; // internal field
if (fNode.isFinal() && fNode.getInitialExpression() != null)
body.addStatement(checkFinalArgNotOverridden(cNode, fNode));

No commit comments for this range

Something went wrong with that request. Please try again.