[GitHub] groovy pull request #397: GROOVY-7916: MissingPropertyException when accessi...

2016-08-27 Thread asfgit
Github user asfgit closed the pull request at:

https://github.com/apache/groovy/pull/397


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] groovy pull request #397: GROOVY-7916: MissingPropertyException when accessi...

2016-08-26 Thread paulk-asert
Github user paulk-asert commented on a diff in the pull request:

https://github.com/apache/groovy/pull/397#discussion_r76406515
  
--- Diff: src/main/org/codehaus/groovy/control/ResolveVisitor.java ---
@@ -852,6 +858,21 @@ protected Expression 
transformPropertyExpression(PropertyExpression pe) {
 return ret;
 }
 
+private boolean isVisibleNestedClass(ClassNode type, ClassNode ceType) 
{
+if (!type.isRedirectNode()) return false;
+ClassNode redirect = type.redirect();
+// public or private
+if (Modifier.isPublic(redirect.getModifiers()) || 
Modifier.isProtected(redirect.getModifiers())) return true;
--- End diff --

Oops, comment is obviously wrong - I'll fix or remove it


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] groovy pull request #397: GROOVY-7916: MissingPropertyException when accessi...

2016-08-25 Thread paulk-asert
GitHub user paulk-asert opened a pull request:

https://github.com/apache/groovy/pull/397

GROOVY-7916: MissingPropertyException when accessing a static inner c…

…lass member from a sub class

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/paulk-asert/groovy groovy7916

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/groovy/pull/397.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #397






---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---