http://d.puremagic.com/issues/show_bug.cgi?id=8716


Jonathan M Davis <jmdavisp...@gmx.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jmdavisp...@gmx.com


--- Comment #1 from Jonathan M Davis <jmdavisp...@gmx.com> 2012-09-23 22:57:26 
PDT ---
I'm not sure that this is a bug, though the behavior is obviously surpising.
Technically speaking, your module isn't _in_ a package, so naturally it won't
have access to anything with package level access. For a module to be in a
package, it needs to be explicitly put in one. e.g.

module x.y;

Without that first x., it's a module without a package, because there is no
top-level package which holds modules which aren't explicitly put in a package.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to