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.
---

Reply via email to