← Back to index
|
Original Bugzilla link
Bug 10421 – 'package' access should work with package module
Status
RESOLVED
Resolution
FIXED
Severity
major
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2013-06-20T01:29:00Z
Last change time
2013-06-20T04:05:34Z
Keywords
pull, rejects-valid
Assigned to
nobody
Creator
k.hara.pg
Comments
Comment #0
by k.hara.pg — 2013-06-20T01:29:46Z
'package' symbols declared in package.d should be accessible from its sub-modules. Source code: --- test.d module test; import pkg; void main() { test(); } --- pkg\package.d module pkg; public import pkg.bbb; package void foo() {} --- pkg\bbb.d module pkg.bbb; import pkg; void test() { foo(); } // L3 Error message: pkg\bbb.d(3): Error: function pkg.foo is not accessible from module bbb
Comment #1
by k.hara.pg — 2013-06-20T02:22:41Z
https://github.com/D-Programming-Language/dmd/pull/2231
Comment #2
by github-bugzilla — 2013-06-20T04:03:36Z
Commits pushed to master at
https://github.com/D-Programming-Language/dmd
https://github.com/D-Programming-Language/dmd/commit/b6c67b77e8ba90d90f971f5de30fc8bbc912b997
fix Issue 10421 - 'package' access should work with package module
https://github.com/D-Programming-Language/dmd/commit/d3e0e0da47875d1b5f69b2744da780bea06232df
Merge pull request #2231 from 9rnsr/fix10421 Issue 10421 - 'package' access should work with package module