[Issue 11065] Package-scoped import introduces symbol conflicts

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Sep 18 14:50:52 PDT 2013


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



--- Comment #2 from Andrej Mitrovic <andrej.mitrovich at gmail.com> 2013-09-18 14:50:51 PDT ---
Here's the new test-case without the win32 dependency:

test.d:
-----
module test;

import foo;
import bar;

void main()
{
    auto x = RGB(0, 0, 255);
}
-----

foo.d:
-----
module foo;

struct RGB
{
    ubyte r, g, b;
}
-----

bar.d:
-----
module bar;

package:

import doo;
-----

doo.d:
-----
struct RGB
{
    ubyte r, g, b;
}
-----

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


More information about the Digitalmars-d-bugs mailing list