You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Michał Zegan (JIRA)" <ji...@apache.org> on 2016/11/04 11:58:59 UTC

[jira] [Created] (GROOVY-7991) classes from default package not found from other packages in case of .groovy files

Michał Zegan created GROOVY-7991:
------------------------------------

             Summary: classes from default package not found from other packages in case of .groovy files
                 Key: GROOVY-7991
                 URL: https://issues.apache.org/jira/browse/GROOVY-7991
             Project: Groovy
          Issue Type: Bug
          Components: Compiler
    Affects Versions: 2.4.0
            Reporter: Michał Zegan


Hello.

It seems that if you create two classes in two .groovy source files, one put in a named package and one in default/unnamed package, then the class in named package is unable to access the one in unnamed, because groovy cannot find it, unless it was loaded before. Everything works when class from one named package accesses another class from the same or even a different named package.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)