You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@groovy.apache.org by pa...@apache.org on 2019/05/03 05:44:46 UTC
[groovy] branch master updated: minor refactor: set source position
This is an automated email from the ASF dual-hosted git repository.
paulk pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/groovy.git
The following commit(s) were added to refs/heads/master by this push:
new f033832 minor refactor: set source position
f033832 is described below
commit f033832289a0f77b6f63d7885ff25078c954948a
Author: Paul King <pa...@asert.com.au>
AuthorDate: Fri May 3 15:44:34 2019 +1000
minor refactor: set source position
---
src/main/java/org/codehaus/groovy/classgen/AsmClassGenerator.java | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/main/java/org/codehaus/groovy/classgen/AsmClassGenerator.java b/src/main/java/org/codehaus/groovy/classgen/AsmClassGenerator.java
index 6f6d217..9fecc0f 100644
--- a/src/main/java/org/codehaus/groovy/classgen/AsmClassGenerator.java
+++ b/src/main/java/org/codehaus/groovy/classgen/AsmClassGenerator.java
@@ -997,6 +997,7 @@ public class AsmClassGenerator extends ClassGenerator {
new ClassExpression(outer),
expression.getProperty()
);
+ pexp.getObjectExpression().setSourcePosition(objectExpression);
pexp.visit(controller.getAcg());
return;
}