www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 12396] New: Regression: major breakage from new import rules

reply d-bugmail puremagic.com writes:
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 puremagic.com
        ReportedBy: bugzilla digitalmars.com


--- Comment #0 from Walter Bright <bugzilla 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: -------
Mar 17 2014
parent d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=12396


Kenji Hara <k.hara.pg gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


--- Comment #1 from Kenji Hara <k.hara.pg gmail.com> 2014-03-24 00:21:11 PDT ---
The behavior was introduced by:
https://github.com/D-Programming-Language/dmd/pull/2256

And it was reverted by:
https://github.com/D-Programming-Language/dmd/pull/3395

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