[Issue 12396] New: Regression: major breakage from new import rules

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Mar 17 20:39:27 PDT 2014


https://d.puremagic.com/issues/show_bug.cgi?id=12396

           Summary: Regression: major breakage from new import rules
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: regression
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: bugzilla at digitalmars.com


--- Comment #0 from Walter Bright <bugzilla at digitalmars.com> 2014-03-17 20:39:24 PDT ---
https://github.com/D-Programming-Language/dmd/pull/2256 has broken the
following code:

a76.d:  struct S { } 

b76.d:  struct S { } 

test.d:

  import a76;
  import S = b76;
  S.S s;    // Error: a76.S at a76.d(1) conflicts with b76.S at b76.d(1)

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


More information about the Digitalmars-d-bugs mailing list