View previous topic :: View next topic |
Author |
Message |
negerns
Joined: 08 Jul 2006 Posts: 13
|
Posted: Sat Jul 29, 2006 4:35 pm Post subject: imports in class and module scope |
|
|
I've tried building the DWT 0.36 using DMD 0.163 and produced errors that certain windows types where not found. I've added imports of the required files to a .d file and accidentally added the same imports to a couple of other files that were producing the same errors. The build proceeded without errors. After investigating, I found that the imports that I added in the last couple of .d files duplicate those that were declared within the classes defined in the module. It should have worked without me duplicating the import in module scope but it doesn't. Is this a bug? |
|
Back to top |
|
|
kris
Joined: 27 Mar 2004 Posts: 1494 Location: South Pacific
|
Posted: Sat Jul 29, 2006 8:35 pm Post subject: |
|
|
It's more likely the effect of a principal 163 change, where imports became private by default
The original imports should have had 'public' in front of them. |
|
Back to top |
|
|
|