Summary: Selective import results in conflicting definition.
           Product: D
           Version: D1
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD

--- Comment #0 from 2010-11-03 18:33:47 PDT ---
The code below results in:
i.d(6): Error: b.B at b.d(3) conflicts with c.B at c.d(4)

module main;

import c;

void main(){}
module c;

import i;
import b : B;
//public import b; // using this line instead fixes it
module i;

import b;
import c;

B i;
module b;

struct B{
  int b;

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to